|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.starla.smb.SMBAccessMode
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.
Field Summary | |
static int |
Compatability
Compatability sharing mode |
static int |
DenyNone
Deny none sharing mode |
static int |
DenyRead
Deny read access sharing mode |
static int |
DenyWrite
Deny write access sharing mode |
static int |
Exclusive
Exclusive access, no sharing |
static int |
Execute
Execute file access |
static int |
NoCaching
Caching mode |
static int |
ReadOnly
Read-only file access |
static int |
ReadWrite
Read/write file access |
static int |
WriteOnly
Write file access |
static int |
WriteThrough
Write through mode |
Constructor Summary | |
SMBAccessMode()
|
Method Summary | |
static int |
AccessMode(int val)
Return the file access mode from the specified flags value. |
static int |
SharingMode(int val)
Return the file sharing mode from the specified flags value. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int ReadOnly
public static final int WriteOnly
public static final int ReadWrite
public static final int Execute
public static final int Compatability
public static final int Exclusive
public static final int DenyWrite
public static final int DenyRead
public static final int DenyNone
public static final int NoCaching
public static final int WriteThrough
Constructor Detail |
public SMBAccessMode()
Method Detail |
public static final int AccessMode(int val)
val
- File flags value.public static final int SharingMode(int val)
val
- File flags value.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |