|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gnu.classpath.tools.getopt.Option frysk.rsl.LogOption
public class LogOption
Constructor Summary | |
---|---|
LogOption(String name)
Create a logger option, with NAME as the long flag. |
|
LogOption(String name,
char c)
Create a log option, with NAME as the long parameter, and C as the character flag. |
Method Summary | |
---|---|
static void |
file(File file)
Parse ARG0 setting log levels, and switching to the specified log file. |
(package private) static void |
parse(Node root,
String arg0)
Parse ARG0 setting log levels. |
static void |
parse(String arg0)
Parse ARG0 setting log levels. |
void |
parsed(String arg0)
Called by option parser; handle option with specified argument. |
Methods inherited from class gnu.classpath.tools.getopt.Option |
---|
getArgumentName, getDescription, getLongName, getShortName, getTakesArgument, isJoined |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogOption(String name)
public LogOption(String name, char c)
Method Detail |
---|
public void parsed(String arg0) throws OptionException
parsed
in class Option
arg0
- the argument
OptionException
- if the option or its argument is somehow invalidpublic static void parse(String arg0) throws OptionException
OptionException
static void parse(Node root, String arg0) throws OptionException
OptionException
public static void file(File file)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |