|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.monica.javacom.util.MJCInputStreamConfiguration | +--com.monica.javacom.util.MJCFileConfiguration
This class implements the MJConfiguration interface to provide customization possibility
for MJC classes. This class reads customization information from a file called MJC.conf,
which has to be located in the current directory.
The configuration file can have the following stucure:
keyword=valueValues can be Strings, ints, and booleans. Booleans are represented with the strings "true" and "false". These values can be referenced int he get methods of the MJCConfiguration with the id matching the keyword.
Fields inherited from class com.monica.javacom.util.MJCInputStreamConfiguration |
iS |
Constructor Summary | |
MJCFileConfiguration()
Default constructor. |
Method Summary | |
java.lang.String |
getConfigurationName()
Sets the MJCConfiguration for this object. |
java.lang.String |
getConfigurationVersion()
Returns the MJCConfiguration with which this object is customized. |
Methods inherited from class com.monica.javacom.util.MJCInputStreamConfiguration |
getBoolean, getBoolean, getInt, getInt, getIntFromStrings, getString, getString, post_init, pre_init |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MJCFileConfiguration()
Method Detail |
public java.lang.String getConfigurationName()
getConfigurationName
in class MJCInputStreamConfiguration
MJCConfiguration
- configuration: the MJCConfiguration
object for the customizationpublic java.lang.String getConfigurationVersion()
getConfigurationVersion
in class MJCInputStreamConfiguration
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |