public class UploadableFile extends Object implements Uploadable
Modifier and Type | Field and Description |
---|---|
protected FileObject |
file |
protected String |
filename |
protected long |
filesize |
protected File |
source |
Constructor and Description |
---|
UploadableFile(FilesCollection files,
FileObject file) |
UploadableFile(File source,
String target) |
UploadableFile(File source,
String target,
String permissions) |
Modifier and Type | Method and Description |
---|---|
String |
getFilename() |
long |
getFilesize() |
InputStream |
getInputStream() |
String |
getPermissions() |
String |
toString() |
protected void |
updateFilesize() |
protected FileObject file
protected String filename
protected File source
protected long filesize
public UploadableFile(FilesCollection files, FileObject file)
protected void updateFilesize()
public long getFilesize()
getFilesize
in interface Uploadable
public String getFilename()
getFilename
in interface Uploadable
public String getPermissions()
getPermissions
in interface Uploadable
public InputStream getInputStream() throws IOException
getInputStream
in interface Uploadable
IOException
Copyright © 2014–2022 ImageJ. All rights reserved.