public class Convert extends AbstractReaderCommand
SCIFIOToolCommand plugin for converting (reading and writing)
datasets.| Constructor and Description |
|---|
Convert() |
| Modifier and Type | Method and Description |
|---|---|
String |
commandName()
Default command name is a lower-case version of the class name.
|
protected String |
description() |
protected List<String> |
getExtraArguments()
Each SCIFIOToolCommand implementation should have a
List<String>
Argument field which is multiValued = true and with an
index putting it at the end of the argument list. |
protected String |
getName() |
protected Plane |
processPlane(Reader reader,
Plane plane,
int imageIndex,
long planeIndex,
long planeNo,
Interval bounds)
Helper method to open the specified region of the specified plane and
perform any command-specific operations.
|
protected void |
run()
Performs the actual tool operations.
|
protected void |
validateParams()
Very that all parameters were set correctly, in case any need checking that
the
Parameter or Argument can't provide. |
getConfig, getCrop, getMap, makeRange, makeReader, read, setCrop, setMapdebug, err, info, location, runCommand, warngetVersion, loggetInfo, getPriority, setInfo, setPriority, toStringcontext, getContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetVersion, loggetIdentifiercontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationprotected void run()
throws org.kohsuke.args4j.CmdLineException
AbstractSCIFIOToolCommandAbstractSCIFIOToolCommand.runCommand(String...).run in class AbstractSCIFIOToolCommandorg.kohsuke.args4j.CmdLineExceptionprotected String description()
description in class AbstractSCIFIOToolCommandprotected String getName()
getName in class AbstractSCIFIOToolCommandprotected List<String> getExtraArguments()
AbstractSCIFIOToolCommandList<String>
Argument field which is multiValued = true and with an
index putting it at the end of the argument list. The user will be
warned that these arguments were not used.getExtraArguments in class AbstractSCIFIOToolCommandprotected void validateParams()
throws org.kohsuke.args4j.CmdLineException
AbstractSCIFIOToolCommandParameter or Argument can't provide.validateParams in class AbstractSCIFIOToolCommandorg.kohsuke.args4j.CmdLineExceptionprotected Plane processPlane(Reader reader, Plane plane, int imageIndex, long planeIndex, long planeNo, Interval bounds) throws org.kohsuke.args4j.CmdLineException
AbstractReaderCommandprocessPlane in class AbstractReaderCommandorg.kohsuke.args4j.CmdLineExceptionpublic String commandName()
AbstractSCIFIOToolCommandcommandName in interface SCIFIOToolCommandcommandName in class AbstractSCIFIOToolCommandCopyright © 2015–2022 SCIFIO. All rights reserved.