Package org.geotoolkit.console

Defines main methods to be invoked from the java command in a shell.

See:
          Description

Class Summary
CommandLine Base class for command line tools.
InteractiveConsole Base class for applications executing instructions from the console.
ReferencingCommands Describe the given referencing object.
ReferencingConsole A console for executing CRS operations from the command line.
 

Annotation Types Summary
Action Annotates a method to be invoked when the first argument which is not an option matches the name.
Option Annotates a field to be assigned from values given on the command line.
 

Package org.geotoolkit.console Description

Defines main methods to be invoked from the java command in a shell. By default data are read and results are sent to the console. If there is no console attached to the currently running JVM, then data are read from the standard input and results are sent to the standard output streams.

The commands pattern is as below:

java -jar <geotk-module.jar> <options> <action> <parameters...>
where <options> is a list of zero, one or more space-separated options of the form --option=value (or --option alone for options that are boolean flags), <action> is a single word and <parameters...> are values that depend on the action being executed. All commands shall understand at least the help action, which take no parameter.


For implementors
Implementors create a subclass of CommandLine with the following elements:

Since:
2.5
Version:
3.00
Author:
Martin Desruisseaux (IRD)
Module:
utility/geotk-utility (download)


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.