Class DefaultPlatform
java.lang.Object
org.eclipse.rdf4j.common.platform.AbstractPlatform
org.eclipse.rdf4j.common.platform.DefaultPlatform
- All Implemented Interfaces:
Platform
-
Field Summary
Fields inherited from class org.eclipse.rdf4j.common.platform.AbstractPlatform
colonReplacement, logger, separatorReplacement, whitespaceReplacementFields inherited from interface org.eclipse.rdf4j.common.platform.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 org.eclipse.rdf4j.common.platform.AbstractPlatform
getApplicationDataDir, getApplicationDataDir, getOSApplicationDataDir, getRelativeApplicationDataDir, getRelativeApplicationDataDir, getUserHome
-
Constructor Details
-
DefaultPlatform
public DefaultPlatform()
-
-
Method Details
-
getName
Description copied from interface:PlatformGet a descriptive name for this platform.- Returns:
- name of the platform
-
getOSApplicationDataDir
Description copied from interface:PlatformReturns the operating system dependent application data directory.- Returns:
- application directory
-
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
-