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

public abstract class CLNAbstractReadFileCommand extends CLNAbstractCommand
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

    Constructors
    Constructor
    Description
    CLNAbstractReadFileCommand(com.io7m.claypot.core.CLPCommandContextType inContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected final com.io7m.claypot.core.CLPCommandType.Status
     
    protected abstract com.io7m.claypot.core.CLPCommandType.Status
     
    protected final URI
     

    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

      protected final com.io7m.claypot.core.CLPCommandType.Status executeActual() throws Exception
      Specified by:
      executeActual in class com.io7m.claypot.core.CLPAbstractCommand
      Throws:
      Exception
    • source

      protected final URI source()
    • executeWithReadFile

      protected abstract com.io7m.claypot.core.CLPCommandType.Status executeWithReadFile(CLNFileReadableType fileParsed) throws IOException
      Throws:
      IOException