org.ini4j.spi
Class IniFormatter
Object
IniFormatter
- All Implemented Interfaces:
- IniHandler, OptionHandler
- Direct Known Subclasses:
- FancyIniFormatter
public class IniFormatter
- extends Object
- implements IniHandler
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IniFormatter
public IniFormatter()
newInstance
public static IniFormatter newInstance(Writer out)
newInstance
public static IniFormatter newInstance(OutputStream out)
newInstance
public static IniFormatter newInstance(Writer out,
Config config)
newInstance
public static IniFormatter newInstance(OutputStream out,
Config config)
getConfig
public Config getConfig()
endIni
public void endIni()
- Specified by:
endIni in interface IniHandler
endSection
public void endSection()
- Specified by:
endSection in interface IniHandler
handleOption
public void handleOption(String optionName,
String optionValue)
- Specified by:
handleOption in interface OptionHandler
startIni
public void startIni()
- Specified by:
startIni in interface IniHandler
startSection
public void startSection(String sectionName)
- Specified by:
startSection in interface IniHandler
newInstance
protected static IniFormatter newInstance()
setConfig
protected void setConfig(Config value)
getOutput
protected PrintWriter getOutput()
setOutput
protected void setOutput(PrintWriter value)
escape
protected String escape(String input)