Package uk.ac.rdg.resc.edal.dataset
Class FakeTrajectoryDatasetFactory
- java.lang.Object
-
- uk.ac.rdg.resc.edal.dataset.DatasetFactory
-
- uk.ac.rdg.resc.edal.dataset.FakeTrajectoryDatasetFactory
-
public class FakeTrajectoryDatasetFactory extends DatasetFactory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFakeTrajectoryDatasetFactory.FakeTrajectoryDataset
-
Field Summary
-
Fields inherited from class uk.ac.rdg.resc.edal.dataset.DatasetFactory
workingDir
-
-
Constructor Summary
Constructors Constructor Description FakeTrajectoryDatasetFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatasetcreateDataset(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
-
-
-
-
Method Detail
-
createDataset
public Dataset createDataset(String id, String location, boolean forceRefresh) throws IOException, EdalException
Description copied from class:DatasetFactoryReturns a Dataset object representing the data at the given location.- Specified by:
createDatasetin 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 totrueto ensure that any cached information is not used- Throws:
EdalException- If there is a problem creating the datasetIOException
-
-