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