Package org.ini4j.spi
Class IniFormatter
- Object
-
- org.ini4j.spi.IniFormatter
-
- All Implemented Interfaces:
IniHandler
public class IniFormatter extends Object implements IniHandler
-
-
Constructor Summary
Constructors Constructor Description IniFormatter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendIni()voidendSection()protected ConfiggetConfig()protected PrintWritergetOutput()voidhandleComment(String comment)voidhandleOption(String optionName, String optionValue)static IniFormatternewInstance(Writer out, Config config)protected voidsetConfig(Config value)protected voidsetOutput(PrintWriter value)voidstartIni()voidstartSection(String sectionName)-
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.IniHandler
handleComment, handleOption
-
-
-
-
Method Detail
-
newInstance
public static IniFormatter newInstance(Writer out, Config config)
-
endIni
public void endIni()
- Specified by:
endIniin interfaceIniHandler
-
endSection
public void endSection()
- Specified by:
endSectionin interfaceIniHandler
-
startIni
public void startIni()
- Specified by:
startIniin interfaceIniHandler
-
startSection
public void startSection(String sectionName)
- Specified by:
startSectionin interfaceIniHandler
-
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)
-
-