Class WindowsPlatform
java.lang.Object
org.eclipse.rdf4j.common.platform.AbstractPlatform
org.eclipse.rdf4j.common.platform.support.WindowsPlatform
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
name of the app data subdirectory containing all RDF4J files *static final String
name of the directory containing application dataFields inherited from class org.eclipse.rdf4j.common.platform.AbstractPlatform
colonReplacement, logger, separatorReplacement, whitespaceReplacement
Fields inherited from interface org.eclipse.rdf4j.common.platform.Platform
APPDATA_BASEDIR_PROPERTY, OLD_DATADIR_PROPERTY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Check if case is preservedboolean
Check if colon is replacedboolean
Check if whitespace is replacedReturns the command shell for MS-WindowsgetName()
Returns the name of this windows platform.Returns an application data directory in the "Application Data" user directory of Windows.Returns the directory for the current user.Methods inherited from class org.eclipse.rdf4j.common.platform.AbstractPlatform
getApplicationDataDir, getApplicationDataDir, getOSApplicationDataDir, getRelativeApplicationDataDir, getRelativeApplicationDataDir
-
Field Details
-
APPLICATION_DATA
name of the directory containing application data- See Also:
-
ADUNA_APPLICATION_DATA
name of the app data subdirectory containing all RDF4J files *- See Also:
-
-
Constructor Details
-
WindowsPlatform
public WindowsPlatform()
-
-
Method Details
-
getName
-
getUserHome
Description copied from interface:Platform
Returns the directory for the current user.- Specified by:
getUserHome
in interfacePlatform
- Overrides:
getUserHome
in classAbstractPlatform
- Returns:
- the current user home directory
-
getOSApplicationDataDir
Returns an application data directory in the "Application Data" user directory of Windows.- Returns:
- directory
-
getCommandShell
Returns the command shell for MS-Windows- Returns:
- name of the command shell
-
dataDirPreserveCase
public boolean dataDirPreserveCase()Description copied from interface:Platform
Check if case is preserved- Returns:
- boolean
-
dataDirReplaceWhitespace
public boolean dataDirReplaceWhitespace()Description copied from interface:Platform
Check if whitespace is replaced- Returns:
- boolean
-
dataDirReplaceColon
public boolean dataDirReplaceColon()Description copied from interface:Platform
Check if colon is replaced- Returns:
- boolean
-