public class CityJSONReader
extends java.lang.Object
implements java.lang.AutoCloseable
Constructor and Description |
---|
CityJSONReader(com.google.gson.stream.JsonReader reader,
CityJSONInputFactory factory) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
MetadataType |
getMetadata() |
boolean |
isSetMetadata() |
CityModel |
read() |
protected void |
setInputFilter(CityObjectTypeFilter filter) |
public CityJSONReader(com.google.gson.stream.JsonReader reader, CityJSONInputFactory factory)
public CityModel read()
public boolean isSetMetadata()
public MetadataType getMetadata()
protected void setInputFilter(CityObjectTypeFilter filter)
public void close() throws CityJSONReadException
close
in interface java.lang.AutoCloseable
CityJSONReadException