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 voidendOptions()protected ConfiggetConfig()protected java.io.PrintWritergetOutput()voidhandleComment(java.lang.String comment)voidhandleOption(java.lang.String optionName, java.lang.String optionValue)static OptionsFormatternewInstance(java.io.Writer out, Config config)protected voidsetConfig(Config value)protected voidsetOutput(java.io.PrintWriter value)voidstartOptions()-
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:
endOptionsin interfaceOptionsHandler
-
startOptions
public void startOptions()
- Specified by:
startOptionsin 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)
-
-