Package uk.ac.rdg.resc.edal.dataset.cdm
Class WaterMLDatasetFactory
- java.lang.Object
-
- uk.ac.rdg.resc.edal.dataset.DatasetFactory
-
- uk.ac.rdg.resc.edal.dataset.cdm.WaterMLDatasetFactory
-
public class WaterMLDatasetFactory extends DatasetFactory
-
-
Field Summary
-
Fields inherited from class uk.ac.rdg.resc.edal.dataset.DatasetFactory
workingDir
-
-
Constructor Summary
Constructors Constructor Description WaterMLDatasetFactory()
-
Method Summary
All Methods Static 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.static voidmain(String[] args)-
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
-
main
public static void main(String[] args) throws EdalException, IOException
- Throws:
EdalExceptionIOException
-
-