Class ShareInfo
- java.lang.Object
-
- com.hierynomus.msfscc.fileinformation.ShareInfo
-
public class ShareInfo extends java.lang.Object
-
-
Method Summary
Modifier and Type Method Description longgetAvailableAllocationUnits()longgetBytesPerSector()longgetCallerAvailableAllocationUnits()longgetCallerFreeSpace()longgetFreeSpace()longgetSectorsPerAllocationUnit()longgetTotalAllocationUnits()longgetTotalSpace()static ShareInfoparseFsFullSizeInformation(Buffer.PlainBuffer response)[MS-SMB2] 2.2.38 SMB2 QUERY_INFO Response, SMB2_0_INFO_FILESYSTEM/FileFsFullSizeInformation
-
-
-
Method Detail
-
getFreeSpace
public long getFreeSpace()
-
getCallerFreeSpace
public long getCallerFreeSpace()
-
getTotalSpace
public long getTotalSpace()
-
getTotalAllocationUnits
public long getTotalAllocationUnits()
-
getAvailableAllocationUnits
public long getAvailableAllocationUnits()
-
getCallerAvailableAllocationUnits
public long getCallerAvailableAllocationUnits()
-
getSectorsPerAllocationUnit
public long getSectorsPerAllocationUnit()
-
getBytesPerSector
public long getBytesPerSector()
-
parseFsFullSizeInformation
public static ShareInfo parseFsFullSizeInformation(Buffer.PlainBuffer response) throws Buffer.BufferException
[MS-SMB2] 2.2.38 SMB2 QUERY_INFO Response, SMB2_0_INFO_FILESYSTEM/FileFsFullSizeInformation[MS-FSCC] 2.5.4 FileFsFullSizeInformation for SMB2
- Throws:
Buffer.BufferException
-
-