Class PosixPlatform
java.lang.Object
org.eclipse.rdf4j.common.platform.AbstractPlatform
org.eclipse.rdf4j.common.platform.support.PosixPlatform
- All Implemented Interfaces:
Platform
- Direct Known Subclasses:
MacOSXPlatform, PosixGnomePlatform, PosixKDEPlatform
Platform implementation for *nix platforms.
-
Field Summary
Fields inherited from class AbstractPlatform
colonReplacement, logger, separatorReplacement, whitespaceReplacementFields inherited from interface Platform
APPDATA_BASEDIR_PROPERTY, OLD_DATADIR_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if case is preservedbooleanCheck if colon is replacedbooleanCheck if whitespace is replacedgetName()Get a descriptive name for this platform.Returns the operating system dependent application data directory.Methods inherited from class AbstractPlatform
getApplicationDataDir, getApplicationDataDir, getOSApplicationDataDir, getRelativeApplicationDataDir, getRelativeApplicationDataDir, getUserHomeModifier and TypeMethodDescriptionfinal FileReturns 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.final FilegetApplicationDataDir(String applicationName) Returns the directory in which a specific application can store all its application-dependent data.final FilegetOSApplicationDataDir(String applicationName) Returns the operating system dependent application data directory.getRelativeApplicationDataDir(String applicationName) Get the directory relative to getApplicationDataDir() for the specified application.getRelativeApplicationDataDir(String applicationName, boolean caseSensitive, boolean replaceWhitespace, boolean replaceColon) Get the relative name of the application directoryReturns the directory for the current user.
-
Constructor Details
-
PosixPlatform
public PosixPlatform()
-
-
Method Details
-
getName
-
getOSApplicationDataDir
-
dataDirPreserveCase
public boolean dataDirPreserveCase()Description copied from interface:PlatformCheck if case is preserved- Returns:
- boolean
-
dataDirReplaceWhitespace
public boolean dataDirReplaceWhitespace()Description copied from interface:PlatformCheck if whitespace is replaced- Returns:
- boolean
-
dataDirReplaceColon
public boolean dataDirReplaceColon()Description copied from interface:PlatformCheck if colon is replaced- Returns:
- boolean
-