Package | Description |
---|---|
org.apache.commons.geometry.io.core |
This package contains the core interfaces and classes for commons-geometry
IO functionality.
|
Modifier and Type | Method and Description |
---|---|
GeometryFormat |
BoundaryWriteHandler.getFormat()
Get the
data format supported by this handler. |
GeometryFormat |
BoundaryReadHandler.getFormat()
Get the
data format supported by this handler. |
Modifier and Type | Method and Description |
---|---|
List<GeometryFormat> |
BoundaryIOManager.getReadFormats()
Get the list of formats supported by the currently registered
read handlers . |
List<GeometryFormat> |
BoundaryIOManager.getWriteFormats()
Get the list of formats supported by the currently registered
write handlers . |
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. |
R |
BoundaryIOManager.getReadHandlerForFormat(GeometryFormat fmt)
Get the
read handler for the given format or
null if no such handler has been registered. |
W |
BoundaryIOManager.getWriteHandlerForFormat(GeometryFormat fmt)
Get the
write handler for the given format or
null if no such handler has been registered. |
B |
BoundaryIOManager.read(GeometryInput in,
GeometryFormat fmt,
Precision.DoubleEquivalence precision)
Return a
BoundarySource containing all boundaries from the given input. |
protected R |
BoundaryIOManager.requireReadHandler(GeometryInput in,
GeometryFormat fmt)
Get the
read handler matching the arguments, throwing an exception
on failure. |
protected W |
BoundaryIOManager.requireWriteHandler(GeometryOutput out,
GeometryFormat fmt)
Get the
write handler matching the arguments, throwing an exception
on failure. |
void |
BoundaryIOManager.write(B src,
GeometryOutput out,
GeometryFormat fmt)
Write all boundaries from
src to the given output. |
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.