|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.win32.io.FileInfo
FileInfo class is a file information container.
| Constructor Summary | |
FileInfo(java.lang.String fileName)
Creates instance of the FileInfo class with specified file name. |
|
FileInfo(java.lang.String fileName,
long attributes,
long size,
long lastModified)
Creates instance of the FileInfo class with specified file name,
file attributes, file size end date of the last modification |
|
| Method Summary | |
long |
getAttributes()
Returns file attributes |
java.lang.String |
getFileName()
Returns file name |
long |
getLastModified()
Returns date of the last modification |
long |
getSize()
Returns file size |
java.lang.String |
toString()
Returns string representation of the object - name of the file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public FileInfo(java.lang.String fileName,
long attributes,
long size,
long lastModified)
FileInfo class with specified file name,
file attributes, file size end date of the last modification
fileName - File nameattributes - File attributessize - File sizelastModified - The date of last modificationpublic FileInfo(java.lang.String fileName)
FileInfo class with specified file name.
fileName - File name| Method Detail |
public java.lang.String getFileName()
public long getAttributes()
public long getSize()
public long getLastModified()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||