public class IniFormatter extends Object implements IniHandler
| Constructor and Description |
|---|
IniFormatter() |
| Modifier and Type | Method and 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithandleComment, handleOptionpublic IniFormatter()
public static IniFormatter newInstance(Writer out, Config config)
public void endIni()
endIni in interface IniHandlerpublic void endSection()
endSection in interface IniHandlerpublic void startIni()
startIni in interface IniHandlerpublic void startSection(String sectionName)
startSection in interface IniHandlerpublic void handleComment(String comment)
public void handleOption(String optionName, String optionValue)
protected PrintWriter getOutput()
protected void setOutput(PrintWriter value)