Class BaseShapefileFormat

java.lang.Object
nz.org.riskscape.engine.output.BaseFormat
nz.org.riskscape.engine.output.BaseShapefileFormat
All Implemented Interfaces:
nz.org.riskscape.engine.Identified, nz.org.riskscape.engine.output.Format
Direct Known Subclasses:
ShapefileFormat, ShapefileGeotoolsFormat

public abstract class BaseShapefileFormat extends nz.org.riskscape.engine.output.BaseFormat
  • Nested Class Summary

    Nested classes/interfaces inherited from interface nz.org.riskscape.engine.output.Format

    nz.org.riskscape.engine.output.Format.Characteristics
  • Constructor Summary

    Constructors
    Constructor
    Description
    BaseShapefileFormat(String id, String extension, String mediaType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract nz.org.riskscape.engine.output.RiskscapeWriter
    getWriter(nz.org.riskscape.engine.types.Struct type, File saveTo, nz.org.riskscape.engine.pipeline.ExecutionContext context)
     
    Optional<nz.org.riskscape.engine.output.WriterConstructor>
     

    Methods inherited from class nz.org.riskscape.engine.output.BaseFormat

    canEqual, containsGeometry, equals, getCharacteristics, getExtension, getId, getMediaType, hashCode, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface nz.org.riskscape.engine.Identified

    getIdentifiedClass
  • Constructor Details

    • BaseShapefileFormat

      public BaseShapefileFormat(String id, String extension, String mediaType)
  • Method Details

    • getWriterConstructor

      public Optional<nz.org.riskscape.engine.output.WriterConstructor> getWriterConstructor()
    • getWriter

      protected abstract nz.org.riskscape.engine.output.RiskscapeWriter getWriter(nz.org.riskscape.engine.types.Struct type, File saveTo, nz.org.riskscape.engine.pipeline.ExecutionContext context) throws IOException
      Throws:
      IOException