Package | Description |
---|---|
com.hp.util.syntax |
Collection of facilities to translate a set of command-line arguments into amap of name-to-object bindings, using an XML-encoded set of syntaxdefinitions.
|
com.hp.util.syntax.usage |
Utilities to auto-generage command-line usage strings, help and manual page contents based on the XML syntax definitions of command-line syntax.
|
Modifier and Type | Method and Description |
---|---|
SyntaxPackage |
SyntaxCompiler.compile(InputStream xmlInput,
Locale locale)
Compiles the specified XML-encoded input stream into a syntax package
that can be used to match and parse command-line arguments.
|
Modifier and Type | Method and Description |
---|---|
Set<SyntaxPackage> |
SyntaxMatcher.getPackages()
Returns an unmodifiable copy of the set of registered packages.
|
Set<SyntaxPackage> |
SyntaxRepository.packages()
Gets the set of all discovered syntax packages.
|
Modifier and Type | Method and Description |
---|---|
void |
SyntaxMatcher.addPackage(SyntaxPackage syntaxPackage)
Registers the given set of packages with this matcher.
|
Modifier and Type | Method and Description |
---|---|
void |
SyntaxMatcher.addPackages(Set<SyntaxPackage> packages)
Registers the given set of packages with this matcher.
|
Modifier and Type | Method and Description |
---|---|
void |
SyntaxUsage.addPackage(SyntaxPackage syntaxPackage)
Registers the given package with the usage generator.
|
Modifier and Type | Method and Description |
---|---|
void |
SyntaxUsage.addPackages(Set<SyntaxPackage> packages)
Registers all syntax packages in the given set with the usage
generator.
|
Copyright © 2016. All Rights Reserved.