|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GetoptErrorFormatter
Formatter for Getopt error messages.
Method Summary | |
---|---|
java.lang.String |
ambiguousOption(java.lang.String option,
java.lang.String leaders)
Formats an error message to indicate that the given option could not be unambiguously interpreted. |
java.lang.String |
missingRequiredArgument(char option,
java.lang.String leaders)
Formats an error message to indicate that the given option requires an argument and that none was found. |
java.lang.String |
missingRequiredArgument(java.lang.String option,
java.lang.String leaders)
Formats an error message to indicate that the given option requires an argument and that none was found. |
java.lang.String |
noArgumentAllowed(char option,
java.lang.String leaders)
Formats an error message to indicate that the given option does not accept any arguments. |
java.lang.String |
noArgumentAllowed(java.lang.String option,
java.lang.String leaders)
Formats an error message to indicate that the given option does not accept any arguments. |
java.lang.String |
unrecognizedOption(char option,
java.lang.String leaders)
Formats an error message to indicate that the given option was not recognized. |
java.lang.String |
unrecognizedOption(java.lang.String option,
java.lang.String leaders)
Formats an error message to indicate that the given option was not recognized. |
Method Detail |
---|
java.lang.String noArgumentAllowed(java.lang.String option, java.lang.String leaders)
option
- The option which does not take argumentsleaders
- The leader characters of the option (e.g. "--")
java.lang.String missingRequiredArgument(java.lang.String option, java.lang.String leaders)
option
- The option which does is missing an argumentleaders
- The leader characters of the option (e.g. "--")
java.lang.String unrecognizedOption(java.lang.String option, java.lang.String leaders)
option
- The option which was not recognizedleaders
- The leader characters of the option (e.g. "--")
java.lang.String ambiguousOption(java.lang.String option, java.lang.String leaders)
option
- The option which was ambiguousleaders
- The leader characters of the option (e.g. "--")
java.lang.String noArgumentAllowed(char option, java.lang.String leaders)
option
- The option which does not take argumentsleaders
- The leader characters of the option (e.g. "--")
java.lang.String missingRequiredArgument(char option, java.lang.String leaders)
option
- The option which does is missing an argumentleaders
- The leader characters of the option (e.g. "--")
java.lang.String unrecognizedOption(char option, java.lang.String leaders)
option
- The option which was not recognizedleaders
- The leader characters of the option (e.g. "--")
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |