public static class LocalFile.Thumbnail
extends java.lang.Object
Constructor and Description |
---|
Thumbnail()
Deprecated.
|
Thumbnail(java.io.File file,
java.lang.String mime,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile()
Returns the local thumbnail file to be uploaded.
|
int |
getHeight()
Returns the height of the thumbnail.
|
java.lang.String |
getMimeType()
Returns the MIME type of thumbnail.
|
java.lang.String |
getPath()
Deprecated.
|
long |
getSize()
Returns the size in bytes of the thumbnail.
|
int |
getWidth()
Returns the width of the thumbnail.
|
void |
setHeight(int height)
Deprecated.
|
void |
setMimeType(java.lang.String mimeType)
Deprecated.
|
void |
setPath(java.lang.String path)
Deprecated.
|
void |
setSize(long size)
Deprecated.
|
void |
setWidth(int width)
Deprecated.
|
@Deprecated public Thumbnail()
public Thumbnail(@NonNull java.io.File file, @Nullable java.lang.String mime, int width, int height)
public java.io.File getFile()
public int getWidth()
public int getHeight()
public long getSize()
public java.lang.String getMimeType()
@Deprecated public java.lang.String getPath()
@Deprecated public void setPath(java.lang.String path)
@Deprecated public void setMimeType(java.lang.String mimeType)
@Deprecated public void setSize(long size)
@Deprecated public void setWidth(int width)
@Deprecated public void setHeight(int height)