Package org.ini4j.spi
Class IniFormatter
- Object
-
- 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 void
endIni()
void
endSection()
protected Config
getConfig()
protected PrintWriter
getOutput()
void
handleComment(String comment)
void
handleOption(String optionName, String optionValue)
static IniFormatter
newInstance(Writer out, Config config)
protected void
setConfig(Config value)
protected void
setOutput(PrintWriter value)
void
startIni()
void
startSection(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
-
-
-
-
Constructor Detail
-
IniFormatter
public IniFormatter()
-
-
Method Detail
-
newInstance
public static IniFormatter newInstance(Writer out, Config config)
-
endIni
public void endIni()
- Specified by:
endIni
in interfaceIniHandler
-
endSection
public void endSection()
- Specified by:
endSection
in interfaceIniHandler
-
startIni
public void startIni()
- Specified by:
startIni
in interfaceIniHandler
-
startSection
public void startSection(String sectionName)
- Specified by:
startSection
in 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)
-
-