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