Package org.ini4j.spi
Class IniFormatter
- java.lang.Object
-
- org.ini4j.spi.IniFormatter
-
- All Implemented Interfaces:
IniHandler
public class IniFormatter extends java.lang.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 java.io.PrintWritergetOutput()voidhandleComment(java.lang.String comment)voidhandleOption(java.lang.String optionName, java.lang.String optionValue)static IniFormatternewInstance(java.io.Writer out, Config config)protected voidsetConfig(Config value)protected voidsetOutput(java.io.PrintWriter value)voidstartIni()voidstartSection(java.lang.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(java.io.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(java.lang.String sectionName)
- Specified by:
startSectionin interfaceIniHandler
-
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)
-
-