com.starla.smb
Class SMBShareInfo

java.lang.Object
  |
  +--com.starla.smb.SMBShareInfo
Direct Known Subclasses:
SMBShareInfo2

public class SMBShareInfo
extends java.lang.Object

SMB share information class

The SMBShareInfo class contains the level one details of a remote shared resource.


Field Summary
static int All
          All permissions
static int Attrib
          Share allows file attribute update
static int Create
          Share allows create access
static int Delete
          Share allows delete access
static int Execute
          Share allows execute access
static int Perm
          Share allows permissions to be changed
static int Read
          Share allows read access
static int Write
          Share allows write access
 
Method Summary
 java.lang.String getShareComment()
          Return the share comment, if set
 java.lang.String getShareName()
          Get the share name
 int getShareType()
          Return the share type
 java.lang.String toString()
          Output the share information as a string
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

Read

public static final int Read
Share allows read access

Write

public static final int Write
Share allows write access

Create

public static final int Create
Share allows create access

Execute

public static final int Execute
Share allows execute access

Delete

public static final int Delete
Share allows delete access

Attrib

public static final int Attrib
Share allows file attribute update

Perm

public static final int Perm
Share allows permissions to be changed

All

public static final int All
All permissions
Method Detail

getShareComment

public final java.lang.String getShareComment()
Return the share comment, if set
Returns:
Share comment string.

getShareName

public final java.lang.String getShareName()
Get the share name
Returns:
Share name string.

getShareType

public final int getShareType()
Return the share type
Returns:
Share type, see SMBDeviceType for the available types.

toString

public java.lang.String toString()
Output the share information as a string
Returns:
Share information string.
Overrides:
toString in class java.lang.Object