Package com.io7m.calino.cmdline.internal
Class CLNAbstractReadFileCommand
java.lang.Object
com.io7m.claypot.core.CLPAbstractCommand
com.io7m.calino.cmdline.internal.CLNAbstractCommand
com.io7m.calino.cmdline.internal.CLNAbstractReadFileCommand
- All Implemented Interfaces:
com.io7m.claypot.core.CLPCommandType
- Direct Known Subclasses:
CLNCommandCheck
,CLNCommandExtractImageData2D
,CLNCommandExtractImageDataArray
,CLNCommandExtractImageDataCube
,CLNCommandShowImageInfo
,CLNCommandShowMetadata
,CLNCommandShowSections
,CLNCommandShowSummary
,CLNCommandShowVersion
An abstract command that reads a single file.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.claypot.core.CLPCommandType
com.io7m.claypot.core.CLPCommandType.Status
-
Constructor Summary
ConstructorDescriptionCLNAbstractReadFileCommand
(com.io7m.claypot.core.CLPCommandContextType inContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected final com.io7m.claypot.core.CLPCommandType.Status
protected abstract com.io7m.claypot.core.CLPCommandType.Status
executeWithReadFile
(CLNFileReadableType fileParsed) protected final URI
source()
Methods inherited from class com.io7m.calino.cmdline.internal.CLNAbstractCommand
calinoStrings
Methods inherited from class com.io7m.claypot.core.CLPAbstractCommand
commander, configuration, context, execute, logger, strings
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.io7m.claypot.core.CLPCommandType
extendedHelp, name
-
Constructor Details
-
CLNAbstractReadFileCommand
public CLNAbstractReadFileCommand(com.io7m.claypot.core.CLPCommandContextType inContext) - Parameters:
inContext
- The context
-
-
Method Details
-
executeActual
- Specified by:
executeActual
in classcom.io7m.claypot.core.CLPAbstractCommand
- Throws:
Exception
-
source
-
executeWithReadFile
protected abstract com.io7m.claypot.core.CLPCommandType.Status executeWithReadFile(CLNFileReadableType fileParsed) throws IOException - Throws:
IOException
-