Package | Description |
---|---|
org.apache.commons.geometry.io.core |
This package contains the core interfaces and classes for commons-geometry
IO functionality.
|
org.apache.commons.geometry.io.core.input |
This package contains types representing input to IO operations.
|
org.apache.commons.geometry.io.core.internal |
This package contains IO utilities intended for internal use only.
|
Modifier and Type | Method and Description |
---|---|
Stream<H> |
BoundaryIOManager.boundaries(GeometryInput in,
GeometryFormat fmt,
Precision.DoubleEquivalence precision)
Return a
Stream providing access to all boundaries from the given input. |
Stream<H> |
BoundaryReadHandler.boundaries(GeometryInput in,
Precision.DoubleEquivalence precision)
Return a
Stream that can be used to access all boundary information from the given input,
which is expected to contain data in the format supported by this handler. |
B |
BoundaryIOManager.read(GeometryInput in,
GeometryFormat fmt,
Precision.DoubleEquivalence precision)
Return a
BoundarySource containing all boundaries from the given input. |
B |
BoundaryReadHandler.read(GeometryInput input,
Precision.DoubleEquivalence precision)
Return an object containing all boundaries read from
input using the handler's
supported data format. |
protected R |
BoundaryIOManager.requireReadHandler(GeometryInput in,
GeometryFormat fmt)
Get the
read handler matching the arguments, throwing an exception
on failure. |
Modifier and Type | Class and Description |
---|---|
class |
FileGeometryInput
GeometryInput implementation for reading content from a file. |
class |
StreamGeometryInput
GeometryInput implementation that wraps an InputStream . |
class |
UrlGeometryInput
GeometryInput implementation for reading content from a URL. |
Modifier and Type | Method and Description |
---|---|
static BufferedReader |
GeometryIOUtils.createBufferedReader(GeometryInput input,
Charset defaultCharset)
Create a
BufferedReader for reading from the given input. |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.