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 long
createTime()
int
decode(byte[] buffer, int bufferIndex, int len)
int
getAttributes()
int
getFileIndex()
String
getFilename()
String
getName()
int
getNextEntryOffset()
int
getType()
long
lastAccess()
long
lastModified()
long
length()
String
toString()
-
-
-
Constructor Detail
-
FileBothDirectoryInfo
public FileBothDirectoryInfo(Configuration config, boolean unicode)
- Parameters:
config
-unicode
-
-
-
Method Detail
-
getFileIndex
public int getFileIndex()
- Specified by:
getFileIndex
in interfaceFileEntry
- Returns:
- the fileIndex
-
getFilename
public String getFilename()
- Returns:
- the filename
-
getAttributes
public int getAttributes()
- Specified by:
getAttributes
in interfaceFileEntry
- Returns:
- the file attributes
-
createTime
public long createTime()
- Specified by:
createTime
in interfaceFileEntry
- Returns:
- the creation time
-
lastModified
public long lastModified()
- Specified by:
lastModified
in interfaceFileEntry
- Returns:
- the last modified time
-
lastAccess
public long lastAccess()
- Specified by:
lastAccess
in 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:
decode
in interfaceDecodable
- Returns:
- decoded length
- Throws:
SMBProtocolDecodingException
- See Also:
Decodable.decode(byte[], int, int)
-
-