All Packages Class Hierarchy This Package Previous Next Index
Class com.starla.lite.SMBDiskInfo
java.lang.Object
|
+----com.starla.lite.SMBDiskInfo
- public final class SMBDiskInfo
- extends Object
SMB disk information class.
The SMBDiskInfo class contains the details of a remote disk share. This
class is returned by the SMBDiskSession.getDiskInformation () method.
- Version:
- 1.0
-
getBlockSize()
- Get the block size, in bytes.
-
getBlocksPerAllocationUnit()
- Get the number of blocks per allocation unit.
-
getDiskFreeSizeKb()
- Get the disk free space in kilobytes.
-
getDiskFreeSizeMb()
- Get the disk free space in megabytes.
-
getDiskSizeKb()
- Get the disk size in kilobytes.
-
getDiskSizeMb()
- Get the disk size in megabytes.
-
getFreeUnits()
- Get the number of free units on this share.
-
getNodeName()
- Get the node name.
-
getShareName()
- Get the share name.
-
getTotalUnits()
- Get the total number of allocation units.
getBlockSize
public final int getBlockSize()
- Get the block size, in bytes.
- Returns:
- Block size in bytes.
getBlocksPerAllocationUnit
public final int getBlocksPerAllocationUnit()
- Get the number of blocks per allocation unit.
- Returns:
- Number of blocks per allocation unit.
getDiskFreeSizeKb
public final int getDiskFreeSizeKb()
- Get the disk free space in kilobytes.
- Returns:
- Remote disk free space in kilobytes.
getDiskFreeSizeMb
public final int getDiskFreeSizeMb()
- Get the disk free space in megabytes.
- Returns:
- Remtoe disk free space in megabytes.
getDiskSizeKb
public final int getDiskSizeKb()
- Get the disk size in kilobytes.
- Returns:
- Remote disk size in kilobytes.
getDiskSizeMb
public final int getDiskSizeMb()
- Get the disk size in megabytes.
- Returns:
- Remote disk size in megabytes.
getFreeUnits
public final int getFreeUnits()
- Get the number of free units on this share.
- Returns:
- Number of free units.
getNodeName
public final String getNodeName()
- Get the node name.
- Returns:
- Node name of the remote server.
getShareName
public final String getShareName()
- Get the share name.
- Returns:
- Remote share name.
getTotalUnits
public final int getTotalUnits()
- Get the total number of allocation units.
- Returns:
- The total number of allocation units.
All Packages Class Hierarchy This Package Previous Next Index