ch.systemsx.cisd.openbis.dss.generic.shared.utils
Class DatasetLocationUtil
java.lang.Object
ch.systemsx.cisd.openbis.dss.generic.shared.utils.DatasetLocationUtil
public class DatasetLocationUtil
- extends java.lang.Object
Method Summary |
static java.io.File |
getDatasetLocationPath(java.io.File baseDir,
java.lang.String dataSetCode,
java.lang.String shareId,
java.lang.String instanceUUID)
Creates a location where a dataset can be found in a specified base directory. |
static java.lang.String |
getDatasetLocationPath(java.lang.String dataSetCode,
java.lang.String instanceUUID)
returns location (path relative to the share) |
static java.io.File |
getDatasetLocationPathCheckingIfExists(java.lang.String dataSetCode,
java.lang.String shareId,
ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatabaseInstance databaseInstance,
java.io.File storeDir)
Creates a location where a dataset can be found in a specified base directory. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DatasetLocationUtil
public DatasetLocationUtil()
getDatasetLocationPathCheckingIfExists
public static java.io.File getDatasetLocationPathCheckingIfExists(java.lang.String dataSetCode,
java.lang.String shareId,
ch.systemsx.cisd.openbis.generic.shared.basic.dto.DatabaseInstance databaseInstance,
java.io.File storeDir)
- Creates a location where a dataset can be found in a specified base directory.
- Throws:
UserFailureException
- if the dataset directory does not exist.
getDatasetLocationPath
public static java.io.File getDatasetLocationPath(java.io.File baseDir,
java.lang.String dataSetCode,
java.lang.String shareId,
java.lang.String instanceUUID)
- Creates a location where a dataset can be found in a specified base directory.
getDatasetLocationPath
public static java.lang.String getDatasetLocationPath(java.lang.String dataSetCode,
java.lang.String instanceUUID)
- returns location (path relative to the share)