writer2latex.base
public abstract class ConfigBase extends Object implements Config
Field Summary | |
---|---|
protected Option[] | options |
Constructor Summary | |
---|---|
ConfigBase() |
Method Summary | |
---|---|
protected abstract String | getDefaultConfigPath() |
String | getOption(String sName) |
protected abstract int | getOptionCount() |
void | read(InputStream is) Read configuration from a specified input stream |
void | read(File file) |
void | readDefaultConfig(String sName) |
protected abstract void | readInner(Element elm) Read configuration information from an xml element.
|
void | setOption(String sName, String sValue) |
void | write(OutputStream os) |
void | write(File file) |
protected abstract void | writeInner(Document dom) Write configuration information to an xml document.
|
Read configuration from a specified input stream
Parameters: is the input stream to read the configuration from