Package com.vividsolutions.jump.io
Class AbstractJUMPReader
- java.lang.Object
-
- com.vividsolutions.jump.io.AbstractJUMPReader
-
- All Implemented Interfaces:
JUMPReader,TaskMonitorSupport
- Direct Known Subclasses:
DelegatingCompressedFileHandler,FMEGMLReader,GeoJSONReader,ShapefileReader,WKTReader
public abstract class AbstractJUMPReader extends Object implements JUMPReader, TaskMonitorSupport
Partial implementation of JUMPReader implementing getExceptions method.
-
-
Constructor Summary
Constructors Constructor Description AbstractJUMPReader()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidaddException(Exception e)Collection<Exception>getExceptions()TaskMonitorgetTaskMonitor()abstract FeatureCollectionread(DriverProperties dp)Read the specified file using the filename given by the "File" property and any other parameters.voidsetTaskMonitor(TaskMonitor taskMonitor)
-
-
-
Method Detail
-
read
public abstract FeatureCollection read(DriverProperties dp) throws Exception
Read the specified file using the filename given by the "File" property and any other parameters.- Specified by:
readin interfaceJUMPReader- Throws:
Exception
-
addException
protected void addException(Exception e)
-
getExceptions
public Collection<Exception> getExceptions()
- Specified by:
getExceptionsin interfaceJUMPReader- Returns:
- exceptions collected during the reading process.
-
setTaskMonitor
public void setTaskMonitor(TaskMonitor taskMonitor)
- Specified by:
setTaskMonitorin interfaceTaskMonitorSupport
-
getTaskMonitor
public TaskMonitor getTaskMonitor()
- Specified by:
getTaskMonitorin interfaceTaskMonitorSupport
-
-