public class Resources extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
logger |
Constructor and Description |
---|
Resources() |
Modifier and Type | Method and Description |
---|---|
static void |
createDataDirectoryFromScratch(File userDir) |
static File |
createTempDir()
this method is used to get the path of a new temp file to be used for whatever reason (the file is
stored in the default temp file directory of Semantic Turkey
|
static File |
getAnnotOntologyFile() |
static File |
getExtensionPath() |
static File |
getOntLibraryDir() |
static File |
getOntologiesMirrorDir()
as from sturkey.properties property: ontologiesMirrorLocation if property is set to default, then its
value is ontologiesMirror dir inside the ontDir directory (delegating to
Config.getOntologiesMirrorLocation, which reads the property file)
|
static File |
getOntTempDir() |
static File |
getOSGiPath() |
static File |
getOWLDefinitionFile() |
static File |
getProjectsDir() |
static File |
getSemTurkeyDataDir() |
static String |
getXSLDirectoryPath() |
static void |
initializeUserResources(String extensionPathName) |
static void |
setExtensionPath(String extensionPathName) |
public static void initializeUserResources(String extensionPathName) throws STInitializationException
STInitializationException
public static File getSemTurkeyDataDir()
public static File getAnnotOntologyFile()
public static File getOWLDefinitionFile()
public static File getOntLibraryDir()
public static File getOntologiesMirrorDir()
public static void setExtensionPath(String extensionPathName)
public static File getExtensionPath()
public static String getXSLDirectoryPath()
public static File getOntTempDir()
public static File getProjectsDir()
public static File createTempDir() throws IOException
IOException
public static void createDataDirectoryFromScratch(File userDir) throws IOException, URISyntaxException, STInitializationException
public static File getOSGiPath()
Copyright © 2016 ART Group, University of Rome, Tor Vergata. All rights reserved.