public interface SimpleCmdlineTool
Modifier and Type | Method and Description |
---|---|
boolean |
checkArgs(String... args)
Check (command line) arguments.
|
String |
listParameters()
Describes the parameters that this tool accepts.
|
void |
run(String... args)
Run the tool.
|
void |
setUp(String... args)
Create any resource which may requires an explicit teardown.
|
void |
tearDown()
Teardown any resource which requires an explicit teardown.
|
boolean checkArgs(String... args)
args
- Usually the command line arguments passed directly from a public static void main(String[] args)
method.void setUp(String... args)
args
- Usually the command line arguments passed directly from a public static void main(String[] args)
method.void tearDown()
void run(String... args)
args
- Usually the command line arguments passed directly from a public static void main(String[] args)
method.String listParameters()
Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.