All Packages Class Hierarchy This Package Previous Next Index
Class com.starla.lite.SMBAccessMode
java.lang.Object
|
+----com.starla.lite.SMBAccessMode
- public final class SMBAccessMode
- extends Object
SMB file access mode class.
The SMB access mode values are used when opening a file using one of the
SMBDiskSession OpenFile (), OpenInputStream () or OpenOutputStream () methods.
-
Compatability
- Compatability sharing mode
-
DenyNone
- Deny none sharing mode
-
DenyRead
- Deny read access sharing mode
-
DenyWrite
- Deny write access sharing mode
-
Exclusive
- Exclusive access, no sharing
-
Execute
- Execute file access
-
NoCaching
- Caching mode
-
ReadOnly
- Read-only file access
-
ReadWrite
- Read/write file access
-
WriteOnly
- Write file access
-
WriteThrough
- Write through mode
-
SMBAccessMode()
-
-
AccessMode(int)
- Return the file access mode from the specified flags value.
-
SharingMode(int)
- Return the file sharing mode from the specified flags value.
ReadOnly
public static final int ReadOnly
- Read-only file access
WriteOnly
public static final int WriteOnly
- Write file access
ReadWrite
public static final int ReadWrite
- Read/write file access
Execute
public static final int Execute
- Execute file access
Compatability
public static final int Compatability
- Compatability sharing mode
Exclusive
public static final int Exclusive
- Exclusive access, no sharing
DenyWrite
public static final int DenyWrite
- Deny write access sharing mode
DenyRead
public static final int DenyRead
- Deny read access sharing mode
DenyNone
public static final int DenyNone
- Deny none sharing mode
NoCaching
public static final int NoCaching
- Caching mode
WriteThrough
public static final int WriteThrough
- Write through mode
SMBAccessMode
public SMBAccessMode()
AccessMode
public static final int AccessMode(int val)
- Return the file access mode from the specified flags value.
- Parameters:
- val - File flags value.
- Returns:
- File access mode.
SharingMode
public static final int SharingMode(int val)
- Return the file sharing mode from the specified flags value.
- Parameters:
- val - File flags value.
- Returns:
- File sharing mode.
All Packages Class Hierarchy This Package Previous Next Index