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, wait
handleComment, handleOption
public OptionsFormatter()
public static OptionsFormatter newInstance(Writer out, Config config)
public void endOptions()
endOptions
in interface OptionsHandler
public void startOptions()
startOptions
in interface OptionsHandler
public void handleComment(String comment)
public void handleOption(String optionName, String optionValue)
protected PrintWriter getOutput()
protected void setOutput(PrintWriter value)