Class MacOSXPlatform
java.lang.Object
org.eclipse.rdf4j.common.platform.AbstractPlatform
org.eclipse.rdf4j.common.platform.support.PosixPlatform
org.eclipse.rdf4j.common.platform.support.MacOSXPlatform
- All Implemented Interfaces:
Platform
Platform implementation for Mac OS X platforms.
-
Field Summary
FieldsFields 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 whitespace is replacedgetName()Get a descriptive name for this platform.Returns the operating system dependent application data directory.Methods inherited from class PosixPlatform
dataDirReplaceColonMethods 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.
-
Field Details
-
APPLICATION_DATA
- See Also:
-
-
Constructor Details
-
MacOSXPlatform
public MacOSXPlatform()
-
-
Method Details
-
getName
-
getOSApplicationDataDir
Description copied from interface:PlatformReturns the operating system dependent application data directory.- Specified by:
getOSApplicationDataDirin interfacePlatform- Overrides:
getOSApplicationDataDirin classPosixPlatform- Returns:
- application directory
-
dataDirPreserveCase
public boolean dataDirPreserveCase()Description copied from interface:PlatformCheck if case is preserved- Specified by:
dataDirPreserveCasein interfacePlatform- Overrides:
dataDirPreserveCasein classPosixPlatform- Returns:
- boolean
-
dataDirReplaceWhitespace
public boolean dataDirReplaceWhitespace()Description copied from interface:PlatformCheck if whitespace is replaced- Specified by:
dataDirReplaceWhitespacein interfacePlatform- Overrides:
dataDirReplaceWhitespacein classPosixPlatform- Returns:
- boolean
-