Class ApacheOption
java.lang.Object
|
+----ApacheOption
- public class ApacheOption
- extends Object
Each ApacheOption
object corresponds to an option file
in the options
directory
- Author:
- Patrice Bensoussan, Thierry Bensoussan
-
ApacheOption(String)
- The constructor build an
ApacheOption
by parsing the
corresponding file.
-
apply(String)
- Generate configuration files in the
dir
directory
-
getIFComponent()
-
-
init()
- Initialize the option with its default state
-
load(BufferedReader)
- Load a configuration for this options
-
removeFiles(String)
- remove all the files generated by this option
-
save(PrintWriter)
- Save the configuration of this options
ApacheOption
public ApacheOption(String filename) throws ParsingException
- The constructor build an
ApacheOption
by parsing the
corresponding file.
- Parameters:
- filename - the name of an options file
- Throws: ParsingException
- if an error occures during the parsing of
the option file.
getIFComponent
public IFComponent getIFComponent()
- Returns:
- the
JPanel
corresponding to this option
apply
public void apply(String dir)
- Generate configuration files in the
dir
directory
- Parameters:
- dir - directory used to generate config files
init
public void init()
- Initialize the option with its default state
load
public void load(BufferedReader in)
- Load a configuration for this options
save
public void save(PrintWriter out)
- Save the configuration of this options
removeFiles
public void removeFiles(String dir)
- remove all the files generated by this option