Package uk.ac.rdg.resc.edal.dataset.vtk
Class OnDemandVtkDataSource
- java.lang.Object
-
- uk.ac.rdg.resc.edal.dataset.vtk.OnDemandVtkDataSource
-
- All Implemented Interfaces:
AutoCloseable
,DataSource
- Direct Known Subclasses:
HydromodelVtkUnstructuredDataset.OnDemandVtkMeshDataSource
public class OnDemandVtkDataSource extends Object implements DataSource
-
-
Constructor Summary
Constructors Constructor Description OnDemandVtkDataSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Close all resources associated with the underlying data.protected Number[]
getData1D(HydromodelVtkDatasetFactory.TimestepInfo timestepInfo, String variableId)
-
-
-
Method Detail
-
getData1D
protected Number[] getData1D(HydromodelVtkDatasetFactory.TimestepInfo timestepInfo, String variableId) throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
close
public void close() throws DataReadingException
Description copied from interface:DataSource
Close all resources associated with the underlying data.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceDataSource
- Throws:
DataReadingException
- If the underlying data cannot be closed for some reason
-
-