Package jcifs.internal.fscc
Class FileEndOfFileInformation
- java.lang.Object
-
- jcifs.internal.fscc.FileEndOfFileInformation
-
- All Implemented Interfaces:
Decodable,Encodable,FileInformation
public class FileEndOfFileInformation extends Object implements FileInformation, Encodable
- Author:
- mbechler
-
-
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 FileEndOfFileInformation()FileEndOfFileInformation(long eofOfFile)
-
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)bytegetFileInformationLevel()intsize()StringtoString()
-
-
-
Method Detail
-
getFileInformationLevel
public byte getFileInformationLevel()
- Specified by:
getFileInformationLevelin interfaceFileInformation- Returns:
- the file information class
- See Also:
FileInformation.getFileInformationLevel()
-
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)
-
toString
public String toString()
- Overrides:
toStringin classObject- See Also:
Object.toString()
-
-