Package org.kohsuke.args4j
Class Config
java.lang.Object
org.kohsuke.args4j.Config
Metadataconfiguration.
This class holds all metadata for a class, mainly a list of @Options and @Arguments.
- Author:
- Jan Materne
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
SAX-Handler for reading the configuration file. -
Field Summary
FieldsModifier and TypeFieldDescriptionAll @Arguments.All @Options. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Config
parse
(InputSource xml) Parses a XML file and returns a Config object holding the information.
-
Field Details
-
options
All @Options. -
arguments
All @Arguments.
-
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
parse
Parses a XML file and returns a Config object holding the information.- Parameters:
xml
- source of the xml data- Returns:
- Throws:
IOException
SAXException
-