Modifier and Type | Method and Description |
---|---|
static File |
getDataDirectory()
Get the openimaj data directory.
|
static File |
getDataLocation(File relativePath)
Get the location of the given data file/directory.
|
static File |
getDataLocation(String relativePath)
Get the location of the given data file/directory.
|
public static File getDataDirectory()
openimaj.data.dir
system property. If the property is unset, then this defaults to
$HOME/Data
where $HOME
is the home directory of
the user who owns the current JVM process.public static File getDataLocation(File relativePath)
getDataDirectory()
.relativePath
- the relative path the to datagetDataDirectory()
public static File getDataLocation(String relativePath)
getDataDirectory()
.relativePath
- the relative path the to datagetDataDirectory()