## Package com.vividsolutions.jts.io

Contains the interfaces for converting JTS objects to and from other formats.

See:
Description

Interface Summary
InStream: A interface for classes providing an input stream of bytes.
OutStream: A interface for classes providing an output stream of bytes.
WKBConstants: Constant values used by the WKB format

Class Summary
ByteArrayInStream: Allows an array of bytes to be used as an `InStream`.
ByteOrderDataInStream: Allows reading a stream of Java primitive datatypes from an underlying `InStream`, with the representation being in either common byte ordering.
ByteOrderValues: Methods to read and write primitive Java datatypes from/to byte sequences, allowing the byte order to be specified
InputStreamInStream: An adapter to allow an `InputStream` to be used as an `InStream`
OutputStreamOutStream: An adapter to allow an `OutputStream` to be used as an `OutStream`
WKBReader: Reads a `Geometry`from a byte stream in Well-Known Binary format.
WKBWriter: Writes a `Geometry` into Well-Known Binary format.
WKTFileReader: Reads a sequence of `Geometry`s in WKT format from a text file.
WKTReader: Converts a geometry in Well-Known Text format to a `Geometry`.
WKTWriter: Outputs the Well-Known Text representation of a `Geometry`.

Exception Summary
ParseException: Thrown by a `WKTReader` when a parsing problem occurs.

## Package com.vividsolutions.jts.io Description

Contains the interfaces for converting JTS objects to and from other formats.

The Java Topology Suite (JTS) is a Java API that implements a core set of spatial data operations using an explicit precision model and robust geometric algorithms. JTS is intended to be used in the development of applications that support the validation, cleaning, integration and querying of spatial datasets.

JTS attempts to implement the OpenGIS Simple Features Specification (SFS) as accurately as possible. In some cases the SFS is unclear or omits a specification; in this case JTS attempts to choose a reasonable and consistent alternative. Differences from and elaborations of the SFS are documented in this specification.

## Package Specification

- Java Topology Suite Technical Specifications
- OpenGIS Simple Features Specification for SQL