org.ini4j.spi
Class IniFormatter

Object
  extended by org.ini4j.spi.IniFormatter
All Implemented Interfaces:
IniHandler

public class IniFormatter
extends Object
implements IniHandler


Constructor Summary
IniFormatter()
           
 
Method Summary
 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 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 interface IniHandler

endSection

public void endSection()
Specified by:
endSection in interface IniHandler

startIni

public void startIni()
Specified by:
startIni in interface IniHandler

startSection

public void startSection(String sectionName)
Specified by:
startSection in interface IniHandler

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)


Copyright © 2011. All Rights Reserved.