Class FileGeometryInput

java.lang.Object
org.apache.commons.geometry.io.core.AbstractGeometryIOMetadata
org.apache.commons.geometry.io.core.input.FileGeometryInput
All Implemented Interfaces:
GeometryIOMetadata, GeometryInput

GeometryInput implementation for reading content from a file.
  • Constructor Details

    • FileGeometryInput

      public FileGeometryInput(Path file)
      Construct a new instance for reading from the given file.
      Parameters:
      file - input file
    • FileGeometryInput

      public FileGeometryInput(Path file, Charset charset)
      Construct a new instance for reading from the given file with the specific charset.
      Parameters:
      file - input file
      charset - charset to use when reading from the input file
  • Method Details