org.ini4j.spi
Class IniFormatter
java.lang.Object
org.ini4j.spi.IniFormatter
- All Implemented Interfaces:
- IniHandler, OptionHandler
- Direct Known Subclasses:
- FancyIniFormatter
public class IniFormatter
- extends java.lang.Object
- implements IniHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IniFormatter
public IniFormatter()
newInstance
public static IniFormatter newInstance(java.io.Writer out)
newInstance
public static IniFormatter newInstance(java.io.OutputStream out)
newInstance
public static IniFormatter newInstance(java.io.Writer out,
Config config)
newInstance
public static IniFormatter newInstance(java.io.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(java.lang.String optionName,
java.lang.String optionValue)
- Specified by:
handleOption
in interface OptionHandler
startIni
public void startIni()
- Specified by:
startIni
in interface IniHandler
startSection
public void startSection(java.lang.String sectionName)
- Specified by:
startSection
in interface IniHandler
newInstance
protected static IniFormatter newInstance()
setConfig
protected void setConfig(Config value)
getOutput
protected java.io.PrintWriter getOutput()
setOutput
protected void setOutput(java.io.PrintWriter value)
escape
protected java.lang.String escape(java.lang.String input)
Copyright © 2011. All Rights Reserved.