Class CityJSONReader
- java.lang.Object
-
- org.citygml4j.builder.cityjson.json.io.reader.CityJSONReader
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class CityJSONReader extends java.lang.Object implements java.lang.AutoCloseable
-
-
Constructor Summary
Constructors Constructor Description CityJSONReader(com.google.gson.stream.JsonReader reader, CityJSONInputFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
MetadataType
getMetadata()
boolean
isSetMetadata()
CityModel
read()
-
-
-
Constructor Detail
-
CityJSONReader
public CityJSONReader(com.google.gson.stream.JsonReader reader, CityJSONInputFactory factory)
-
-
Method Detail
-
read
public CityModel read()
-
isSetMetadata
public boolean isSetMetadata()
-
getMetadata
public MetadataType getMetadata()
-
close
public void close() throws CityJSONReadException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Throws:
CityJSONReadException
-
-