Uses of Class
org.locationtech.jts.io.ParseException
-
Packages that use ParseException Package Description org.locationtech.jts.io Contains the interfaces for converting JTS objects to and from other formats.org.locationtech.jts.io.geojson org.locationtech.jtsexample.geom org.locationtech.jtsexample.linearref org.locationtech.jtstest.test org.locationtech.jtstest.testbuilder.model org.locationtech.jtstest.testrunner org.locationtech.jtstest.util.io -
-
Uses of ParseException in org.locationtech.jts.io
Methods in org.locationtech.jts.io that throw ParseException Modifier and Type Method Description private Coordinate[]WKTReader. getCoordinates()Returns the next array ofCoordinates in the stream.private Coordinate[]WKTReader. getCoordinatesNoLeftParen()private java.lang.StringWKTReader. getNextCloser()Returns the next R_PAREN in the stream.private java.lang.StringWKTReader. getNextCloserOrComma()Returns the next R_PAREN or COMMA in the stream.private java.lang.StringWKTReader. getNextEmptyOrOpener()Returns the next EMPTY or L_PAREN in the stream as uppercase text.private doubleWKTReader. getNextNumber()Parses the next number in the stream.private java.lang.StringWKTReader. getNextWord()Returns the next word in the stream.private CoordinateWKTReader. getPreciseCoordinate()private java.lang.StringWKTReader. lookaheadWord()Returns the next word in the stream.private voidWKTReader. parseErrorExpected(java.lang.String expected)Throws a formatted ParseException reporting that the current token was unexpected.private voidWKTReader. parseErrorWithLine(java.lang.String msg)java.util.ListWKBHexFileReader. read()Reads a sequence of geometries.private java.util.ListWKBHexFileReader. read(java.io.BufferedReader bufferedReader)GeometryWKBReader. read(byte[] bytes)Reads a singleGeometryin WKB format from a byte array.GeometryWKBReader. read(InStream is)java.util.ListWKTFileReader. read()Reads a sequence of geometries.private java.util.ListWKTFileReader. read(java.io.BufferedReader bufferedReader)GeometryWKTReader. read(java.io.Reader reader)Reads a Well-Known Text representation of aGeometryfrom aReader.GeometryWKTReader. read(java.lang.String wellKnownText)Reads a Well-Known Text representation of aGeometryfrom aString.private GeometryWKBReader. readGeometry()private GeometryCollectionWKBReader. readGeometryCollection()private GeometryCollectionWKTReader. readGeometryCollectionText()Creates aGeometryCollectionusing the next token in the stream.private GeometryWKTReader. readGeometryTaggedText()Creates aGeometryusing the next token in the stream.private LinearRingWKTReader. readLinearRingText()Creates aLinearRingusing the next token in the stream.private LineStringWKTReader. readLineStringText()Creates aLineStringusing the next token in the stream.private MultiLineStringWKBReader. readMultiLineString()private MultiLineStringWKTReader. readMultiLineStringText()Creates aMultiLineStringusing the next token in the stream.private MultiPointWKBReader. readMultiPoint()private MultiPointWKTReader. readMultiPointText()Creates aMultiPointusing the next tokens in the stream.private MultiPolygonWKBReader. readMultiPolygon()private MultiPolygonWKTReader. readMultiPolygonText()Creates aMultiPolygonusing the next token in the stream.private PointWKTReader. readPointText()Creates aPointusing the next token in the stream.private PolygonWKTReader. readPolygonText()Creates aPolygonusing the next token in the stream. -
Uses of ParseException in org.locationtech.jts.io.geojson
Methods in org.locationtech.jts.io.geojson that throw ParseException Modifier and Type Method Description private GeometryGeoJsonReader. create(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createGeometryCollection(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createLineString(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createMultiLineString(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createMultiPoint(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createMultiPolygon(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createPoint(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryGeoJsonReader. createPolygon(java.util.Map<java.lang.String,java.lang.Object> geometryMap, GeometryFactory geometryFactory)private GeometryFactoryGeoJsonReader. getGeometryFactory(java.util.Map<java.lang.String,java.lang.Object> geometryMap)GeometryGeoJsonReader. read(java.io.Reader reader)Reads a GeoJson Geometry from aReaderinto a singleGeometry.GeometryGeoJsonReader. read(java.lang.String json)Reads a GeoJson Geometry from a String into a singleGeometry. -
Uses of ParseException in org.locationtech.jtsexample.geom
Methods in org.locationtech.jtsexample.geom that throw ParseException Modifier and Type Method Description voidPrecisionModelExample. difference(java.lang.String wktA, java.lang.String wktB, PrecisionModel pm)voidPrecisionModelExample. example1()voidPrecisionModelExample. example2()voidPrecisionModelExample. intersection(java.lang.String wktA, java.lang.String wktB, PrecisionModel pm)voidPrecisionModelExample. run()voidSimpleMethodsExample. run() -
Uses of ParseException in org.locationtech.jtsexample.linearref
Methods in org.locationtech.jtsexample.linearref that throw ParseException Modifier and Type Method Description voidLinearRefExample. runExtractedLine(java.lang.String wkt, double start, double end) -
Uses of ParseException in org.locationtech.jtstest.test
Methods in org.locationtech.jtstest.test that throw ParseException Modifier and Type Method Description voidTestable. initGeometry()voidTestCase. initGeometry()voidTestCase. runTest()private GeometryTestCase. toNullOrGeometry(java.lang.String wellKnownText) -
Uses of ParseException in org.locationtech.jtstest.testbuilder.model
Methods in org.locationtech.jtstest.testbuilder.model that throw ParseException Modifier and Type Method Description voidTestBuilderModel. changePrecisionModel(PrecisionModel precisionModel)voidTestCaseEdit. initGeometry()voidTestRunnerTestCaseAdapter. initGeometry()voidTestBuilderModel. loadEditList(TestCaseList tcl)voidTestBuilderModel. loadGeometryText(java.lang.String wktA, java.lang.String wktB)private voidTestBuilderModel. loadWKTAfterPMChange()voidTestRunnerTestCaseAdapter. runTest()Constructors in org.locationtech.jtstest.testbuilder.model that throw ParseException Constructor Description TestCaseEdit(Testable tc) -
Uses of ParseException in org.locationtech.jtstest.testrunner
Methods in org.locationtech.jtstest.testrunner that throw ParseException Modifier and Type Method Description private GeometryTestReader. readGeometry(org.jdom2.Element geometryElement, java.io.File wktFile)private GeometryResultTestReader. toGeometryResult(java.lang.String value, TestRun testRun)private ResultTestReader. toResult(java.lang.String value, java.lang.String name, TestRun testRun) -
Uses of ParseException in org.locationtech.jtstest.util.io
Methods in org.locationtech.jtstest.util.io that throw ParseException Modifier and Type Method Description GeometryGeoJsonMultiReader. read(java.lang.String s)GeometryMultiFormatReader. read(java.lang.String geomStr)GeometryWKTOrWKBReader. read(java.lang.String geomStr)private GeometryGeoJsonMultiReader. readFeatureCollection(java.lang.String s)Extracts all Geometry object substrings and reads themprivate GeometryMultiFormatReader. readGeoJSON(java.lang.String str)private static GeometryIOUtil. readGeoJSONFile(java.lang.String filename, GeometryFactory geomFact)static GeometryIOUtil. readGeoJSONString(java.lang.String s, GeometryFactory geomFact)private GeometryGeoJsonMultiReader. readGeometry(java.lang.String s)private GeometryMultiFormatReader. readGML(java.lang.String str)private static GeometryIOUtil. readGMLFile(java.lang.String filename, GeometryFactory geomFact)static GeometryIOUtil. readGMLString(java.lang.String gml, GeometryFactory geomFact)private static GeometryIOUtil. readWKBHexFile(java.lang.String filename, GeometryFactory geomFact)static GeometryIOUtil. readWKBHexString(java.lang.String wkb, GeometryFactory geomFact)private static GeometryIOUtil. readWKTFile(java.lang.String filename, GeometryFactory geomFact)static GeometryIOUtil. readWKTString(java.lang.String wkt, GeometryFactory geomFact)Reads one or more WKT geometries from a string.
-