ID_ABSOLUTE, ID_RELATIVE
Constructor and Description |
---|
DirectoryServer() |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean(int search,
java.lang.String id,
boolean initial)
Access a data value from the directory as specified by the given
absolute or relative node ID.
|
char |
getChar(int search,
java.lang.String id,
char initial)
Access a data value from the directory as specified by the given
absolute or relative node ID.
|
int |
getInt(int search,
java.lang.String id,
int initial)
Access a data value from the directory as specified by the given
absolute or relative node ID.
|
java.lang.String |
getString(int search,
java.lang.String id,
java.lang.String initial)
Access a data value from the directory as specified by the given
absolute or relative node ID.
|
public java.lang.String getString(int search, java.lang.String id, java.lang.String initial)
getString
in interface Directory
search
- Must be one of ID_ABSOLUTE
(if the given node
ID includes all paths from the root of the directory tree to
the node being read) or ID_RELATIVE
if the given
ID is only a relative portion which should be found via a
search through a standard set of search paths.id
- The node ID to retrieve.initial
- The initial value to return if a node of the proper type is
not found by the given node ID or if no node is found by the
given node ID.public char getChar(int search, java.lang.String id, char initial)
getChar
in interface Directory
search
- Must be one of ID_ABSOLUTE
(if the given node
ID includes all paths from the root of the directory tree to
the node being read) or ID_RELATIVE
if the given
ID is only a relative portion which should be found via a
search through a standard set of search paths.id
- The node ID to retrieve.initial
- The initial value to return if a node of the proper type is
not found by the given node ID or if no node is found by the
given node ID.public int getInt(int search, java.lang.String id, int initial)
getInt
in interface Directory
search
- Must be one of ID_ABSOLUTE
(if the given node
ID includes all paths from the root of the directory tree to
the node being read) or ID_RELATIVE
if the given
ID is only a relative portion which should be found via a
search through a standard set of search paths.id
- The node ID to retrieve.initial
- The initial value to return if a node of the proper type is
not found by the given node ID or if no node is found by the
given node ID.public boolean getBoolean(int search, java.lang.String id, boolean initial)
getBoolean
in interface Directory
search
- Must be one of ID_ABSOLUTE
(if the given node
ID includes all paths from the root of the directory tree to
the node being read) or ID_RELATIVE
if the given
ID is only a relative portion which should be found via a
search through a standard set of search paths.id
- The node ID to retrieve.initial
- The initial value to return if a node of the proper type is
not found by the given node ID or if no node is found by the
given node ID.