public class PlotCommandFormatter extends CommandFormatter
Constructor and Description |
---|
PlotCommandFormatter(CredibleString invocation,
boolean includeDflts,
LineEnder lineEnder,
int levelIndent,
int cwidth)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String[] |
stripExpectedUnused(Task task,
String[] words)
Remove words from the list of unused words that are harmless.
|
createBasicDocument, createExecutable, createShellDocument, getInvocation, populateEnvironment, setForceError
public PlotCommandFormatter(CredibleString invocation, boolean includeDflts, LineEnder lineEnder, int levelIndent, int cwidth)
invocation
- display text to introduce the STILTS commandincludeDflts
- if true, all parameters are included;
if false, only those with non-default valueslineEnder
- line end presentation policylevelIndent
- number of spaces per indentation levelcwidth
- nominal formatting width in characters;
this affects line wrapping, but actual
wrapping may depend on other factors tooprotected String[] stripExpectedUnused(Task task, String[] words)
CommandFormatter
This is a hook for a hack. Some of the parameter settings can be unused when object values for other parameter settings are used. If that happens, it looks like there is a problem because settings have not been used. This routine can pull them out so the warning goes away.
stripExpectedUnused
in class CommandFormatter
task
- taskwords
- input command word listCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.