Pepper
3.6.0
A highly extensible plattform for conversion and manipulationoflinguisticdata.
|
This class represents a console to realize a kind of an interactive wizard to guide the user through the workflow configuration. More...
Classes | |
enum | COMMAND |
class | ExitWizardException |
Public Member Functions | |
ConvertWizardConsole (String prefixPrompt) | |
Initializes an object. More... | |
Pepper | getPepper () |
void | setPepper (Pepper pepper) |
void | start () |
Starts this console, using std in and std out. | |
synchronized PepperJob | start (BufferedReader in, PrintStream out) |
Starts the wizard for a 'session'. More... | |
boolean | importPhase (PepperJob pepperJob) |
A sub wizard to manage the import phase. More... | |
void | manipulationPhase (PepperJob pepperJob) |
A sub wizard to manage the manipulation phase. More... | |
boolean | exportPhase (PepperJob pepperJob) |
A sub wizard to manage the import phase. More... | |
Static Public Member Functions | |
static void | deresolveURIs (File outputFile, PepperJob pepperJob) throws IOException |
Before saving, create relative URIs for Pepper job. More... | |
Public Attributes | |
Boolean | isDebug = false |
Determines if debug mode is on or off. | |
This class represents a console to realize a kind of an interactive wizard to guide the user through the workflow configuration.
This is a step by step wizard in which the the user needs to make an input for each step:
Export phase
org.corpus_tools.pepper.cli.ConvertWizardConsole.ConvertWizardConsole | ( | String | prefixPrompt | ) |
Initializes an object.
prefixPrompt | the prefix prompt to be displayed, before the prompt of this console. |
|
static |
Before saving, create relative URIs for Pepper job.
Create a base URI to deresolve relative URIs
outputFile | |
pepperJob |
IOException |
boolean org.corpus_tools.pepper.cli.ConvertWizardConsole.exportPhase | ( | PepperJob | pepperJob | ) |
A sub wizard to manage the import phase.
Asks all importers from the user.
pepperJob | the PepperJob object to be filled. |
Pepper org.corpus_tools.pepper.cli.ConvertWizardConsole.getPepper | ( | ) |
boolean org.corpus_tools.pepper.cli.ConvertWizardConsole.importPhase | ( | PepperJob | pepperJob | ) |
A sub wizard to manage the import phase.
Asks all importers from the user.
pepperJob | the PepperJob object to be filled. |
void org.corpus_tools.pepper.cli.ConvertWizardConsole.manipulationPhase | ( | PepperJob | pepperJob | ) |
A sub wizard to manage the manipulation phase.
Asks for all manipulators from the user.
pepperJob | the PepperJob object to be filled. |
void org.corpus_tools.pepper.cli.ConvertWizardConsole.setPepper | ( | Pepper | pepper | ) |
pepper | The Pepper object, which shall create and run the job |
synchronized PepperJob org.corpus_tools.pepper.cli.ConvertWizardConsole.start | ( | BufferedReader | in, |
PrintStream | out | ||
) |
Starts the wizard for a 'session'.
A wizard can only be started as singleton. That means it needs to be quit before it can be started again.
in | |
out |