org.ini4j.spi
Class OptionsFormatter

Object
  extended by org.ini4j.spi.OptionsFormatter
All Implemented Interfaces:
OptionsHandler

public class OptionsFormatter
extends Object
implements OptionsHandler


Constructor Summary
OptionsFormatter()
           
 
Method Summary
 void endOptions()
           
protected  Config getConfig()
           
protected  PrintWriter getOutput()
           
 void handleComment(String comment)
           
 void handleOption(String optionName, String optionValue)
           
static OptionsFormatter newInstance(Writer out, Config config)
           
protected  void setConfig(Config value)
           
protected  void setOutput(PrintWriter value)
           
 void startOptions()
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ini4j.spi.OptionsHandler
handleComment, handleOption
 

Constructor Detail

OptionsFormatter

public OptionsFormatter()
Method Detail

newInstance

public static OptionsFormatter newInstance(Writer out,
                                           Config config)

endOptions

public void endOptions()
Specified by:
endOptions in interface OptionsHandler

startOptions

public void startOptions()
Specified by:
startOptions in interface OptionsHandler

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.