|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.starla.smb.SMBFileInfo
SMB file information class.
The SMBFileInfo class is returned by the SMBDiskSession.getFileInformation () method and contains details of the requested file.
SMBFileInfo objects are also returned by a directory search that is started using the SMBDiskSession.StartSearch () method. The search request creates an SMBSearchContext object which can return either file names, via the nextFileName () method, or can return SMBFileInfo objects for each file found, via the nextFileInfo () method.
Method Summary | |
com.starla.smb.SMBDate |
getDateTime()
Get the files date/time of last write |
java.lang.String |
getFileName()
Get the file name string |
java.lang.String |
getPath()
Get the file path string. |
int |
getSize()
Get the file size, in bytes. |
boolean |
isDirectory()
Return the directory file attribute status. |
boolean |
isHidden()
Return the hidden file attribute status. |
boolean |
isReadOnly()
Return the read-only file attribute status. |
boolean |
isSystem()
Return the system file attribute status. |
java.lang.String |
toString()
Return the file information as a string. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Method Detail |
public final com.starla.smb.SMBDate getDateTime()
public final java.lang.String getFileName()
public final java.lang.String getPath()
public final int getSize()
public final boolean isDirectory()
public final boolean isHidden()
public final boolean isReadOnly()
public final boolean isSystem()
public final java.lang.String toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |