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 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)
protected Config getConfig()
protected void setConfig(Config value)
protected PrintWriter getOutput()
protected void setOutput(PrintWriter value)
Copyright © 2015. All rights reserved.