Package uk.ac.rdg.resc.edal.dataset.vtk
Class HydromodelVtkDatasetFactory
- java.lang.Object
-
- uk.ac.rdg.resc.edal.dataset.DatasetFactory
-
- uk.ac.rdg.resc.edal.dataset.vtk.HydromodelVtkDatasetFactory
-
public class HydromodelVtkDatasetFactory extends DatasetFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HydromodelVtkDatasetFactory.TimestepInfo
-
Field Summary
Fields Modifier and Type Field Description static String
Z_VAR_ID
-
Fields inherited from class uk.ac.rdg.resc.edal.dataset.DatasetFactory
workingDir
-
-
Constructor Summary
Constructors Constructor Description HydromodelVtkDatasetFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dataset
createDataset(String id, String location, boolean forceRefresh)
Returns a Dataset object representing the data at the given location.-
Methods inherited from class uk.ac.rdg.resc.edal.dataset.DatasetFactory
createDataset, forName, setDefaultDatasetFactoryClass, setWorkingDirectory
-
-
-
-
Field Detail
-
Z_VAR_ID
public static final String Z_VAR_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
createDataset
public Dataset createDataset(String id, String location, boolean forceRefresh) throws IOException, EdalException
Description copied from class:DatasetFactory
Returns a Dataset object representing the data at the given location.- Specified by:
createDataset
in classDatasetFactory
- Parameters:
id
- The ID to assign to this datasetlocation
- The location of the source data: this may be a file, database connection string or a remote server address.forceRefresh
- Set totrue
to ensure that any cached information is not used- Throws:
EdalException
- If there is a problem creating the datasetIOException
-
-