Package jcifs.internal.fscc
Class FileStandardInfo
- java.lang.Object
-
- jcifs.internal.fscc.FileStandardInfo
-
- All Implemented Interfaces:
Decodable,Encodable,BasicFileInformation,FileInformation,SmbBasicFileInfo
public class FileStandardInfo extends Object implements BasicFileInformation
-
-
Field Summary
-
Fields inherited from interface jcifs.internal.fscc.FileInformation
FILE_BASIC_INFO, FILE_ENDOFFILE_INFO, FILE_INTERNAL_INFO, FILE_RENAME_INFO, FILE_STANDARD_INFO
-
-
Constructor Summary
Constructors Constructor Description FileStandardInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdecode(byte[] buffer, int bufferIndex, int len)intencode(byte[] dst, int dstIndex)intgetAttributes()longgetCreateTime()bytegetFileInformationLevel()longgetLastAccessTime()longgetLastWriteTime()longgetSize()intsize()StringtoString()
-
-
-
Method Detail
-
getFileInformationLevel
public byte getFileInformationLevel()
- Specified by:
getFileInformationLevelin interfaceFileInformation- Returns:
- the file information class
-
getAttributes
public int getAttributes()
- Specified by:
getAttributesin interfaceSmbBasicFileInfo- Returns:
- file attributes
-
getCreateTime
public long getCreateTime()
- Specified by:
getCreateTimein interfaceSmbBasicFileInfo- Returns:
- file create time
-
getLastWriteTime
public long getLastWriteTime()
- Specified by:
getLastWriteTimein interfaceSmbBasicFileInfo- Returns:
- file last write time
-
getLastAccessTime
public long getLastAccessTime()
- Specified by:
getLastAccessTimein interfaceSmbBasicFileInfo- Returns:
- file last access time
-
getSize
public long getSize()
- Specified by:
getSizein interfaceSmbBasicFileInfo- Returns:
- file size
-
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)
-
size
public int size()
- Specified by:
sizein interfaceEncodable- Returns:
- the encoded size
- See Also:
Encodable.size()
-
encode
public int encode(byte[] dst, int dstIndex)- Specified by:
encodein interfaceEncodable- Returns:
- encoded length
- See Also:
Encodable.encode(byte[], int)
-
-