All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class edu.vt.marian.common.Configuration

java.lang.Object
   |
   +----edu.vt.marian.common.Configuration

public class Configuration
extends 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 Index

 o Configuration(String, 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 Index

 o get_binding(String)
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
 o get_dir(String)
 o get_port()

Constructors

 o Configuration
 public Configuration(String config_file_name,
                      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

Methods

 o get_binding
 public String get_binding(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

 o get_dir
 public String get_dir(String name)
 o get_port
 public int get_port()

All Packages  Class Hierarchy  This Package  Previous  Next  Index