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
ConstructorsConstructorDescriptionCLNAbstractReadFileCommand(com.io7m.claypot.core.CLPCommandContextType inContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected final com.io7m.claypot.core.CLPCommandType.Statusprotected abstract com.io7m.claypot.core.CLPCommandType.StatusexecuteWithReadFile(CLNFileReadableType fileParsed) protected final URIsource()Methods inherited from class com.io7m.calino.cmdline.internal.CLNAbstractCommand
calinoStringsMethods inherited from class com.io7m.claypot.core.CLPAbstractCommand
commander, configuration, context, execute, logger, stringsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
executeActualin classcom.io7m.claypot.core.CLPAbstractCommand- Throws:
Exception
-
source
-
executeWithReadFile
protected abstract com.io7m.claypot.core.CLPCommandType.Status executeWithReadFile(CLNFileReadableType fileParsed) throws IOException - Throws:
IOException
-