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 voidclose()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:
FileNotFoundExceptionIOException
-
close
public void close() throws DataReadingExceptionDescription copied from interface:DataSourceClose all resources associated with the underlying data.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceDataSource- Throws:
DataReadingException- If the underlying data cannot be closed for some reason
-
-