Package jcifs.internal.fscc
Class FileBothDirectoryInfo
- java.lang.Object
-
- jcifs.internal.fscc.FileBothDirectoryInfo
-
-
Constructor Summary
Constructors Constructor Description FileBothDirectoryInfo(Configuration config, boolean unicode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longcreateTime()intdecode(byte[] buffer, int bufferIndex, int len)intgetAttributes()intgetFileIndex()StringgetFilename()StringgetName()intgetNextEntryOffset()intgetType()longlastAccess()longlastModified()longlength()StringtoString()
-
-
-
Constructor Detail
-
FileBothDirectoryInfo
public FileBothDirectoryInfo(Configuration config, boolean unicode)
- Parameters:
config-unicode-
-
-
Method Detail
-
getFileIndex
public int getFileIndex()
- Specified by:
getFileIndexin interfaceFileEntry- Returns:
- the fileIndex
-
getFilename
public String getFilename()
- Returns:
- the filename
-
getAttributes
public int getAttributes()
- Specified by:
getAttributesin interfaceFileEntry- Returns:
- the file attributes
-
createTime
public long createTime()
- Specified by:
createTimein interfaceFileEntry- Returns:
- the creation time
-
lastModified
public long lastModified()
- Specified by:
lastModifiedin interfaceFileEntry- Returns:
- the last modified time
-
lastAccess
public long lastAccess()
- Specified by:
lastAccessin interfaceFileEntry- Returns:
- the last access time
-
getNextEntryOffset
public int getNextEntryOffset()
- Returns:
- the nextEntryOffset
-
decode
public int decode(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException- Specified by:
decodein interfaceDecodable- Returns:
- decoded length
- Throws:
SMBProtocolDecodingException- See Also:
Decodable.decode(byte[], int, int)
-
-