protected static class FSUploadManager.FSUpload extends Object implements Upload
Upload
implementation on file system.Modifier and Type | Field and Description |
---|---|
private Context |
_context |
private File |
_file |
Constructor and Description |
---|
FSUpload(Context context,
File file)
Creates a FSUpload from a file.
|
Modifier and Type | Method and Description |
---|---|
String |
getFilename()
Retrieves the filename.
|
String |
getId()
Retrieves the upload id.
|
InputStream |
getInputStream()
Retrieves the input stream.
|
long |
getLength()
Retrieves the data length.
|
String |
getMimeType()
Retrieves the mime type.
|
Date |
getUploadedDate()
Retrieves the uploaded date.
|
public Date getUploadedDate()
Upload
getUploadedDate
in interface Upload
public String getFilename()
Upload
getFilename
in interface Upload
public String getMimeType()
Upload
getMimeType
in interface Upload
public long getLength()
Upload
public InputStream getInputStream()
Upload
Each call will return a new InputStream
.
getInputStream
in interface Upload