|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpeer2me.message.FileInfo
public class FileInfo
A class that contains information about a received file.
Constructor Summary | |
---|---|
FileInfo(java.lang.String fileName,
java.lang.String fullPathToFile,
long fileSize)
Constructor which creates the FileInfo object |
Method Summary | |
---|---|
java.lang.String |
getFileName()
Returns the name of the file |
long |
getFileSize()
Returns the size of the file |
java.lang.String |
getFullPathToFile()
Returns the full path of the file |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileInfo(java.lang.String fileName, java.lang.String fullPathToFile, long fileSize)
fileName
- The name of the file with extensionfullPathToFile
- The full path to the file including name of filefileSize
- The size of the file in number of bytesMethod Detail |
---|
public java.lang.String getFileName()
public long getFileSize()
public java.lang.String getFullPathToFile()
file:///SDCard/images/animal.jpg
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |