public class UsageWriter extends Object
main method.| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Writes a file called taskname-summary.xml for each of the
tasks in STILTS.
|
static String |
xmlItem(Parameter<?> param,
String baseId,
boolean isBasic)
Returns a list item (dt/dd pair) for a parameter giving its usage
and description.
|
public static String xmlItem(Parameter<?> param, String baseId, boolean isBasic)
If a non-null baseId is supplied, the output
dt element is written with an id attribute of the form
baseId-paramName.
param - parameterbaseId - prefix to parameter name for use in generating
id attribute, or null for no idisBasic - if true, avoid adding XML constructs which won't be
evident (and may cause parsing trouble)
in plain text outputparampublic static void main(String[] args) throws IOException, LoadException
IOExceptionLoadExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.