|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.file.nw.NameSpace
Provides an interface for getting the default name space of the platform on which the JVM is executing. It also provides a central interface for changing NetWare file system name space integer values into strings and vice versa.
Field Summary | |
static int |
DOS_INT
The NetWare DOS name space flag. |
static int |
FTAM_INT
The NetWare FTAM name space flag. |
static int |
LONG_INT
The NetWare LONG name space flag. |
static int |
MAC_INT
The NetWare MAC name space flag. |
static int |
NFS_INT
The NetWare NFS name space flag. |
Constructor Summary | |
NameSpace()
|
Method Summary | |
static int |
getPlatformDefaultNameSpace()
Returns the default NetWare name space number depending on the OS under which the current JVM is running. |
static int |
nameToNumber(java.lang.String name)
Returns a name space number given a name space string. |
static java.lang.String |
numberToName(int ns)
Returns a name space string given a NetWare name space number. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int DOS_INT
DOS_INT = 0
public static final int MAC_INT
MAC_INT = 1
public static final int NFS_INT
NFS_INT = 2
public static final int FTAM_INT
FTAM_INT = 3
public static final int LONG_INT
LONG_INT = 0
Constructor Detail |
public NameSpace()
Method Detail |
public static int nameToNumber(java.lang.String name)
name
- The name space string.public static java.lang.String numberToName(int ns)
ns
- The name space number.public static int getPlatformDefaultNameSpace()
This method returns the best-case name space, because not every NetWare volume will support the name space returned. The name space returned here must be filtered through the list of name spaces loaded on a particular volume to get the optimum usable name space for the volume.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |