|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jdo.impl.enhancer.util.Assertion
org.apache.jdo.impl.enhancer.util.Support
org.apache.jdo.impl.enhancer.OptionSet
org.apache.jdo.impl.enhancer.GenericOptions
public class GenericOptions
Set of options used by the JDO enhancer and its test programs.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.apache.jdo.impl.enhancer.OptionSet |
---|
OptionSet.FlagOption, OptionSet.HelpOption, OptionSet.IntOption, OptionSet.Option, OptionSet.StringOption |
Field Summary | |
---|---|
OptionSet.FlagOption |
doTiming
The timing option. |
protected java.io.PrintWriter |
err
The stream to write error messages to. |
OptionSet.HelpOption |
help
The help option. |
protected java.io.PrintWriter |
out
The stream to write messages to. |
OptionSet.FlagOption |
verbose
The verbose option. |
Fields inherited from class org.apache.jdo.impl.enhancer.OptionSet |
---|
abbrevs, arguments, argumentsHeader, indent, lprefix, names, OK, options, optionsHeader, prefix, returnHeader, USAGE_ERROR, usageHeader |
Fields inherited from class org.apache.jdo.impl.enhancer.util.Support |
---|
timer |
Constructor Summary | |
---|---|
GenericOptions(java.io.PrintWriter out,
java.io.PrintWriter err)
Creates an instance. |
Method Summary | |
---|---|
protected void |
flush()
Flushes streams. |
static void |
main(java.lang.String[] args)
Tests the class. |
protected void |
print(java.lang.String msg)
Prints out a message. |
protected void |
println()
Prints out a message. |
protected void |
println(java.lang.String msg)
Prints out a message. |
protected void |
printlnErr()
Prints out an error message. |
protected void |
printlnErr(java.lang.String msg)
Prints out an error message. |
protected void |
printlnErr(java.lang.String msg,
java.lang.Throwable ex)
Prints out an error message. |
protected void |
printlnErr(java.lang.String msg,
java.lang.Throwable ex,
boolean verbose)
Prints out an error message. |
Methods inherited from class org.apache.jdo.impl.enhancer.OptionSet |
---|
check, createFlagOption, createFlagOption, createHelpOption, createIntOption, createIntOption, createStringOption, createStringOption, parse, printAll, printArgumentHeader, printArguments, printArgumentUsage, printOptionHeader, printOptions, printOptionUsage, printReturnHeader, printReturnUsage, printUsage, printUsageError, printUsageHeader, process, register |
Methods inherited from class org.apache.jdo.impl.enhancer.util.Support |
---|
getI18N, getI18N, getI18N, getI18N, getI18N, getI18N |
Methods inherited from class org.apache.jdo.impl.enhancer.util.Assertion |
---|
affirm, affirm, affirm, affirm |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final OptionSet.HelpOption help
public final OptionSet.FlagOption verbose
public final OptionSet.FlagOption doTiming
protected final java.io.PrintWriter out
protected final java.io.PrintWriter err
Constructor Detail |
---|
public GenericOptions(java.io.PrintWriter out, java.io.PrintWriter err)
Method Detail |
---|
public static void main(java.lang.String[] args)
protected void printlnErr(java.lang.String msg, java.lang.Throwable ex, boolean verbose)
protected void printlnErr(java.lang.String msg, java.lang.Throwable ex)
protected void printlnErr(java.lang.String msg)
protected void printlnErr()
protected void print(java.lang.String msg)
protected void println(java.lang.String msg)
protected void println()
protected void flush()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |