Class CityJSONReader
- java.lang.Object
-
- org.citydb.citygml.importer.reader.cityjson.CityJSONReader
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,FeatureReader
,EventHandler
public class CityJSONReader extends java.lang.Object implements FeatureReader, EventHandler
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
long
getValidationErrors()
void
handleEvent(Event event)
void
read(InputFile inputFile, WorkerPool<org.citygml4j.model.citygml.CityGML> workerPool)
-
-
-
Method Detail
-
getValidationErrors
public long getValidationErrors()
- Specified by:
getValidationErrors
in interfaceFeatureReader
-
read
public void read(InputFile inputFile, WorkerPool<org.citygml4j.model.citygml.CityGML> workerPool) throws FeatureReadException
- Specified by:
read
in interfaceFeatureReader
- Throws:
FeatureReadException
-
close
public void close() throws FeatureReadException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfaceFeatureReader
- Throws:
FeatureReadException
-
handleEvent
public void handleEvent(Event event) throws java.lang.Exception
- Specified by:
handleEvent
in interfaceEventHandler
- Throws:
java.lang.Exception
-
-