Package de.sg_o.lib.photoNet.netData
Class FileListItem
java.lang.Object
de.sg_o.lib.photoNet.netData.FileListItem
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileListItem(String baseDir, String name, long size, boolean folder, NetIO io) FileListItem(String baseDir, String info, NetIO io) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddelete()getDownload(OutputStream dataStream, int maxRetries) getMeta()getName()getPreview(long offset) longgetSize()getUpload(InputStream dataStream, int maxRetries) booleanisFolder()longopenFile()voidprint()toString()
-
Field Details
-
FOLDER_UP
- See Also:
-
-
Constructor Details
-
FileListItem
-
FileListItem
-
-
Method Details
-
getName
-
getSize
public long getSize() -
isFolder
public boolean isFolder() -
getFolder
-
getFullPath
-
getMeta
-
getPreview
-
openFile
- Throws:
UnsupportedEncodingException
-
closeFile
- Throws:
UnsupportedEncodingException
-
getDownload
-
getUpload
-
delete
- Throws:
UnsupportedEncodingException
-
print
- Throws:
UnsupportedEncodingException
-
toString
-