Package org.ini4j.spi
Class OptionsFormatter
- java.lang.Object
-
- org.ini4j.spi.OptionsFormatter
-
- All Implemented Interfaces:
OptionsHandler
public class OptionsFormatter extends java.lang.Object implements OptionsHandler
-
-
Constructor Summary
Constructors Constructor Description OptionsFormatter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endOptions()
protected Config
getConfig()
protected java.io.PrintWriter
getOutput()
void
handleComment(java.lang.String comment)
void
handleOption(java.lang.String optionName, java.lang.String optionValue)
static OptionsFormatter
newInstance(java.io.Writer out, Config config)
protected void
setConfig(Config value)
protected void
setOutput(java.io.PrintWriter value)
void
startOptions()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ini4j.spi.OptionsHandler
handleComment, handleOption
-
-
-
-
Method Detail
-
newInstance
public static OptionsFormatter newInstance(java.io.Writer out, Config config)
-
endOptions
public void endOptions()
- Specified by:
endOptions
in interfaceOptionsHandler
-
startOptions
public void startOptions()
- Specified by:
startOptions
in interfaceOptionsHandler
-
handleComment
public void handleComment(java.lang.String comment)
-
handleOption
public void handleOption(java.lang.String optionName, java.lang.String optionValue)
-
getConfig
protected Config getConfig()
-
setConfig
protected void setConfig(Config value)
-
getOutput
protected java.io.PrintWriter getOutput()
-
setOutput
protected void setOutput(java.io.PrintWriter value)
-
-