Package org.ini4j.spi
Class OptionsFormatter
- Object
-
- org.ini4j.spi.OptionsFormatter
-
- All Implemented Interfaces:
OptionsHandler
public class OptionsFormatter extends 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 PrintWritergetOutput()voidhandleComment(String comment)voidhandleOption(String optionName, String optionValue)static OptionsFormatternewInstance(Writer out, Config config)protected voidsetConfig(Config value)protected voidsetOutput(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(Writer out, Config config)
-
endOptions
public void endOptions()
- Specified by:
endOptionsin interfaceOptionsHandler
-
startOptions
public void startOptions()
- Specified by:
startOptionsin interfaceOptionsHandler
-
handleComment
public void handleComment(String comment)
-
handleOption
public void handleOption(String optionName, String optionValue)
-
getConfig
protected Config getConfig()
-
setConfig
protected void setConfig(Config value)
-
getOutput
protected PrintWriter getOutput()
-
setOutput
protected void setOutput(PrintWriter value)
-
-