public class GeoJsonStreamParser
extends java.lang.Object
| Constructor and Description |
|---|
GeoJsonStreamParser(java.io.InputStream is, GeoJsonParseType parseType)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
findType()
Returns true if an object of the specified type is found, false otherwise.
|
long |
getBytesRead()
Returns the bytes that have been read
|
java.lang.String |
readType()
Reads the GeoJSON object.
|
public GeoJsonStreamParser(java.io.InputStream is,
GeoJsonParseType parseType)
is - the input streamparseType - the GeoJSON parsing type
public boolean findType()
throws java.io.IOException
java.io.IOException - if an IOException occurs
public java.lang.String readType()
throws java.io.IOException
java.io.IOException - if an IOException occurspublic long getBytesRead()