writer2latex.api
public interface Config
Method Summary | |
---|---|
String | getOption(String sName) Get a named option
|
void | read(InputStream is) Read a configuration (stream based version)
|
void | read(File file) Read a configuration (file based version)
|
void | readDefaultConfig(String sName) Read a default configuration: The available configurations depend on the
Converter implementation
|
void | setOption(String sName, String sValue) Set a name/value option. |
void | write(OutputStream os) Write the configuration (stream based version)
|
void | write(File file) Write the configuration (file based version)
|
Parameters: sName the name of the option
Returns: the value of the option, or null
if the option does
not exist or the given name is null
Parameters: is the InputStream
to read from
Throws: IOException if an error occurs reading the stream, or the data is not in the right format
Parameters: file the File
to read from
Throws: IOException if the file does not exist, an error occurs reading the file, or the data is not in the right format
Parameters: sName the name of the configuration
Throws: IllegalArgumentException if the configuration does not exist
Parameters: sName the name of the option sValue the value of the option
Parameters: os the OutputStream
to write to
Throws: IOException if an error occurs writing to the stream
Parameters: file the File
to write to
Throws: IOException if an error occurs writing to the file