Class DataFileStorage
java.lang.Object
fr.ens.biologie.genomique.kenetre.storage.AbstractFileStorage
fr.ens.biologie.genomique.eoulsan.data.storages.DataFileStorage
public class DataFileStorage
extends fr.ens.biologie.genomique.kenetre.storage.AbstractFileStorage
This class define a storage using DataFile API.
- Since:
- 2.6
- Author:
- Laurent Jourdren
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DataFileStorage
Constructor.- Parameters:
rootPath- root of the storageextensions- extension of the files
-
-
Method Details
-
getDataFile
Get a Datafile related to a short name- Parameters:
shortName- the short name of a file- Returns:
- a DataFile
- Throws:
IOException- if the file cannot be found
-
getFile
Get a file related to a short name- Overrides:
getFilein classfr.ens.biologie.genomique.kenetre.storage.AbstractFileStorage- Parameters:
shortName- the short name of a file- Returns:
- a DataFile
- Throws:
IOException- if the file cannot be found
-