edu.vt.marian.server
Class configuration
java.lang.Object
|
+--edu.vt.marian.server.configuration
- public class configuration
- extends java.lang.Object
class name: configuration
class description: this class contains the configuration information about the
whole system, including the directory names of other objects.
uses the services of class(es):
designer(s): Jianxin Zhao (jxzhao@csgrad.cs.vt.edu)
implementator(s): Ning Chai (nchai@csgrad.cs.vt.edu)
finished time: Nov 23, 1998
known bugs:
JDK version: 1.1.5
side effects:
|
Constructor Summary |
configuration(java.lang.String dir_name,
edu.vt.marian.common.Debug debug)
method description: this constructor will create a configuration object
from the specified directory/file
uses the services of class(es):
input parameter(s):
file_name -- this directory contains all the configuration information
of the system
debug -- used for debugging
output parameter(s): none
return value: none
synchronization: none |
|
Method Summary |
java.lang.String |
get_dir(java.lang.String name)
method description: this method will return the directory/file name of the
specified object in the system
uses the services of class(es):
input parameter(s):
name --- the name of the object
output parameter(s): none
return value:
a directory name as a string -- the directory should contain all the
configuration information about the object
null -- there is no directory corresponds to the specified object
synchronization: none |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
configuration
public configuration(java.lang.String dir_name,
edu.vt.marian.common.Debug debug)
- method description: this constructor will create a configuration object
from the specified directory/file
uses the services of class(es):
input parameter(s):
file_name -- this directory contains all the configuration information
of the system
debug -- used for debugging
output parameter(s): none
return value: none
synchronization: none
get_dir
public java.lang.String get_dir(java.lang.String name)
- method description: this method will return the directory/file name of the
specified object in the system
uses the services of class(es):
input parameter(s):
name --- the name of the object
output parameter(s): none
return value:
a directory name as a string -- the directory should contain all the
configuration information about the object
null -- there is no directory corresponds to the specified object
synchronization: none