Class CLNAbstractReadFileCommand
java.lang.Object
com.io7m.calino.cmdline.internal.CLNAbstractCommand
com.io7m.calino.cmdline.internal.CLNAbstractReadFileCommand
- All Implemented Interfaces:
com.io7m.quarrel.core.QCommandOrGroupType, com.io7m.quarrel.core.QCommandType
- Direct Known Subclasses:
CLNCommandCheck, CLNCommandExtractImageData2D, CLNCommandExtractImageDataArray, CLNCommandExtractImageDataCube, CLNCommandShowImageInfo, CLNCommandShowMetadata, CLNCommandShowSections, CLNCommandShowSummary, CLNCommandShowVersion
An abstract command that reads a single file.
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract com.io7m.quarrel.core.QCommandStatusexecuteWithReadFile(com.io7m.quarrel.core.QCommandContextType context, CLNFileReadableType fileParsed) final com.io7m.quarrel.core.QCommandStatusonExecute(com.io7m.quarrel.core.QCommandContextType context) final List<com.io7m.quarrel.core.QParameterNamedType<?>> protected abstract List<com.io7m.quarrel.core.QParameterNamedType<?>> protected static URIsource(com.io7m.quarrel.core.QCommandContextType context) Methods inherited from class CLNAbstractCommand
calinoStrings, metadata, onListNamedParametersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.quarrel.core.QCommandOrGroupType
isHiddenMethods inherited from interface com.io7m.quarrel.core.QCommandType
onListPositionalParameters
-
Method Details
-
onListNamedParametersWithFile
protected abstract List<com.io7m.quarrel.core.QParameterNamedType<?>> onListNamedParametersWithFile() -
onListNamedParametersActual
- Specified by:
onListNamedParametersActualin classCLNAbstractCommand
-
onExecute
-
source
-
executeWithReadFile
protected abstract com.io7m.quarrel.core.QCommandStatus executeWithReadFile(com.io7m.quarrel.core.QCommandContextType context, CLNFileReadableType fileParsed) throws IOException - Throws:
IOException
-