Class BaseShapefileFormat<T>

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

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

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

    nz.org.riskscape.engine.output.Format.Characteristics, nz.org.riskscape.engine.output.Format.WriterOptions
  • 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)
     
    protected nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.output.RiskscapeWriter>
    newWriter(nz.org.riskscape.engine.pipeline.ExecutionContext context, nz.org.riskscape.engine.types.Struct type, nz.org.riskscape.engine.resource.CreateHandle handle, T bound)
     

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

    bindWriterOptions, canEqual, containsGeometry, equals, getCharacteristics, getExtension, getId, getMediaType, getParameterClass, getWriterConstructor, getWriterParameters, hashCode, toString, validateWriterOptions

    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

    • newWriter

      protected nz.org.riskscape.problem.ResultOrProblems<nz.org.riskscape.engine.output.RiskscapeWriter> newWriter(nz.org.riskscape.engine.pipeline.ExecutionContext context, nz.org.riskscape.engine.types.Struct type, nz.org.riskscape.engine.resource.CreateHandle handle, T bound)
      Specified by:
      newWriter in class nz.org.riskscape.engine.output.BaseFormat<T>
    • 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