java.lang.Object
org.codelibs.jcifs.smb.internal.fscc.FileFsFullSizeInformation
- All Implemented Interfaces:
Decodable,AllocInfo,FileSystemInformation
public class FileFsFullSizeInformation
extends Object
implements AllocInfo, FileSystemInformation, Decodable
Represents the FILE_FS_FULL_SIZE_INFORMATION structure used to query comprehensive file system size information.
This structure provides complete allocation details including total allocation units, caller-available free units,
actual free allocation units, sectors per allocation unit, and bytes per sector.
-
Field Summary
Fields inherited from interface org.codelibs.jcifs.smb.internal.fscc.FileSystemInformation
FS_FULL_SIZE_INFO, FS_SIZE_INFO, SMB_INFO_ALLOCATION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for decoding file system full size information. -
Method Summary
-
Constructor Details
-
FileFsFullSizeInformation
public FileFsFullSizeInformation()Default constructor for decoding file system full size information.
-
-
Method Details
-
getFileSystemInformationClass
public byte getFileSystemInformationClass()Gets the file system information class.- Specified by:
getFileSystemInformationClassin interfaceFileSystemInformation- Returns:
- file system information class
- See Also:
-
getCapacity
public long getCapacity()Description copied from interface:AllocInfoGets the total capacity of the allocation.- Specified by:
getCapacityin interfaceAllocInfo- Returns:
- total capacity
-
getFree
public long getFree()Description copied from interface:AllocInfoGets the free space available. -
decode
Decode data from a byte buffer- Specified by:
decodein interfaceDecodable- Parameters:
buffer- the byte buffer containing the data to decodebufferIndex- the starting index in the bufferlen- the maximum length of data to decode- Returns:
- decoded length
- Throws:
SMBProtocolDecodingException- if decoding fails- See Also:
-
toString
-