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

Method Index

 o getBlockSize()
Get the block size, in bytes.
 o getBlocksPerAllocationUnit()
Get the number of blocks per allocation unit.
 o getDiskFreeSizeKb()
Get the disk free space in kilobytes.
 o getDiskFreeSizeMb()
Get the disk free space in megabytes.
 o getDiskSizeKb()
Get the disk size in kilobytes.
 o getDiskSizeMb()
Get the disk size in megabytes.
 o getFreeUnits()
Get the number of free units on this share.
 o getNodeName()
Get the node name.
 o getShareName()
Get the share name.
 o getTotalUnits()
Get the total number of allocation units.

Methods

 o getBlockSize
 public final int getBlockSize()
Get the block size, in bytes.

Returns:
Block size in bytes.
 o getBlocksPerAllocationUnit
 public final int getBlocksPerAllocationUnit()
Get the number of blocks per allocation unit.

Returns:
Number of blocks per allocation unit.
 o getDiskFreeSizeKb
 public final int getDiskFreeSizeKb()
Get the disk free space in kilobytes.

Returns:
Remote disk free space in kilobytes.
 o getDiskFreeSizeMb
 public final int getDiskFreeSizeMb()
Get the disk free space in megabytes.

Returns:
Remtoe disk free space in megabytes.
 o getDiskSizeKb
 public final int getDiskSizeKb()
Get the disk size in kilobytes.

Returns:
Remote disk size in kilobytes.
 o getDiskSizeMb
 public final int getDiskSizeMb()
Get the disk size in megabytes.

Returns:
Remote disk size in megabytes.
 o getFreeUnits
 public final int getFreeUnits()
Get the number of free units on this share.

Returns:
Number of free units.
 o getNodeName
 public final String getNodeName()
Get the node name.

Returns:
Node name of the remote server.
 o getShareName
 public final String getShareName()
Get the share name.

Returns:
Remote share name.
 o 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