Class BasicUI
java.lang.Object
org.daisy.cli.AbstractUI
org.daisy.braille.ui.BasicUI
Provides a basic command line UI for core functionality in
org.daisy.braille.
- Author:
- Joel HÃ¥kansson
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractUI
AbstractUI.Argument, AbstractUI.Definition, AbstractUI.ExitCode, AbstractUI.OptionalArgument -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class AbstractUI
ARG_PREFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the name for the UIGets optional argumentsGets required argumentsstatic voidCommand line entry pointvoidrun()Runs the application.voidsetPluginsDir(File dir) Sets the context class loader to an URLClassLoader containing the jars found in the specified path.Methods inherited from class AbstractUI
displayHelp, exitWithCode, exitWithCode, expandShortForm, getDefinitionList, getOptional, getRequired, setKeyValueDelimiter, setOptionalArgumentPrefix, toMap
-
Field Details
-
emboss
- See Also:
-
text2pef
- See Also:
-
pef2text
- See Also:
-
validate
- See Also:
-
split
- See Also:
-
merge
- See Also:
-
generate
- See Also:
-
list
- See Also:
-
-
Constructor Details
-
BasicUI
-
-
Method Details
-
setPluginsDir
Sets the context class loader to an URLClassLoader containing the jars found in the specified path.- Parameters:
dir- the directory to search for jar-files.
-
run
-
main
-
getName
Description copied from class:AbstractUIGets the name for the UI- Specified by:
getNamein classAbstractUI- Returns:
- returns the UI name
-
getRequiredArguments
Description copied from class:AbstractUIGets required arguments- Specified by:
getRequiredArgumentsin classAbstractUI- Returns:
- returns a list of required arguments that can be passed to the UI on startup
-
getOptionalArguments
Description copied from class:AbstractUIGets optional arguments- Specified by:
getOptionalArgumentsin classAbstractUI- Returns:
- returns a list of optional arguments that can be passed to the UI on startup
-