public interface Platform
| Modifier and Type | Field and Description | 
|---|---|
| static String | APPDATA_BASEDIR_PROPERTY | 
| static String | OLD_DATADIR_PROPERTYDeprecated.  | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | dataDirPreserveCase()Check if case is preserved | 
| boolean | dataDirReplaceColon()Check if colon is replaced | 
| boolean | dataDirReplaceWhitespace()Check if whitespace is replaced | 
| File | getApplicationDataDir()Returns the directory in which Aduna applications can store their application-dependent data, returns
 'getOSApplicationDataDir' unless the system property "aduna.platform.applicationdata.dir" has been set. | 
| File | getApplicationDataDir(String applicationName)Returns the directory in which a specific application can store all its application-dependent data. | 
| String | getName()Get a descriptive name for this platform. | 
| File | getOSApplicationDataDir()Returns the operating system dependent application data directory. | 
| File | getOSApplicationDataDir(String applicationName)Returns the operating system dependent application data directory. | 
| String | getRelativeApplicationDataDir(String applicationName)Get the directory relative to getApplicationDataDir() for the specified application. | 
| File | getUserHome()Returns the directory for the current user. | 
static final String APPDATA_BASEDIR_PROPERTY
@Deprecated static final String OLD_DATADIR_PROPERTY
String getName()
File getOSApplicationDataDir()
File getOSApplicationDataDir(String applicationName)
applicationName - name of the applicationFile getUserHome()
File getApplicationDataDir()
File getApplicationDataDir(String applicationName)
applicationName - the name of the application for which to determine the directorygetApplicationDataDir()String getRelativeApplicationDataDir(String applicationName)
applicationName - the name of the applicationboolean dataDirPreserveCase()
boolean dataDirReplaceWhitespace()
boolean dataDirReplaceColon()
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.