Class WindowsPlatform
java.lang.Object
org.eclipse.rdf4j.common.platform.AbstractPlatform
org.eclipse.rdf4j.common.platform.support.WindowsPlatform
- All Implemented Interfaces:
Platform
Platform implementation for MS-Windows
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringname of the app data subdirectory containing all RDF4J files *static final Stringname of the directory containing application dataFields 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 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 AbstractPlatform
getApplicationDataDir, getApplicationDataDir, getOSApplicationDataDir, getRelativeApplicationDataDir, getRelativeApplicationDataDirModifier 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 directory
-
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:PlatformReturns the directory for the current user.- Specified by:
getUserHomein interfacePlatform- Overrides:
getUserHomein 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: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
-