Constructor and Description |
---|
VotCopy()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Executable |
createExecutable(Environment env)
Creates an executable object which will do the work of this task
in the given Environment.
|
Parameter<?>[] |
getParameters()
Returns the list of parameters which may be used by this task.
|
String |
getPurpose()
Returns a short (one-line) description of the purpose of this task.
|
static void |
saxCopy(InputSource saxSrc,
VotCopyHandler copyHandler)
Copies the SAX stream to the output, writing TABLE DATA elements
in a given encoding.
|
public String getPurpose()
Task
getPurpose
in interface Task
public Parameter<?>[] getParameters()
Task
getParameters
in interface Task
public Executable createExecutable(Environment env) throws TaskException
Task
env
, though this is not
absolutely prohibited.createExecutable
in interface Task
env
- the environment in which the task will operateTaskException
- if no executable can be created;
this should usually be a UsageException
or
some subclasspublic static void saxCopy(InputSource saxSrc, VotCopyHandler copyHandler) throws SAXException, IOException
saxSrc
- SAX input sourcecopyHandler
- handler which can consume SAX events - may be
a LexicalHandler tooSAXException
IOException
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.