|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface JavacOption
TODO: describe com.sun.tools.javac.main.JavacOption
This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Nested Class Summary | |
|---|---|
static class |
JavacOption.ChoiceKind
|
static class |
JavacOption.HiddenOption
A hidden (implementor) option |
static class |
JavacOption.Option
This class represents an option recognized by the main program |
static class |
JavacOption.OptionKind
|
static class |
JavacOption.XOption
A nonstandard or extended (-X) option |
| Method Summary | |
|---|---|
JavacOption.OptionKind |
getKind()
|
OptionName |
getName()
|
boolean |
hasArg()
Does this option take a (separate) operand? |
boolean |
matches(java.lang.String arg)
Does argument string match option pattern? |
boolean |
process(Options options,
java.lang.String option)
Process the option with no argument. |
boolean |
process(Options options,
java.lang.String option,
java.lang.String arg)
Process an option with an argument. |
| Method Detail |
|---|
JavacOption.OptionKind getKind()
boolean hasArg()
boolean matches(java.lang.String arg)
arg - the command line argument string
arg matches this option
boolean process(Options options,
java.lang.String option,
java.lang.String arg)
options - the accumulated set of analyzed optionsoption - the option to be processedarg - the arg for the option to be processed
boolean process(Options options,
java.lang.String option)
options - the accumulated set of analyzed optionsoption - the option to be processed
OptionName getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||