public class WindowsPlatform extends PlatformBase
Modifier and Type | Field and Description |
---|---|
static String |
ADUNA_APPLICATION_DATA
name of the app data subdirectory containing all Aduna files *
|
static String |
APPLICATION_DATA
name of the directory containing application data
|
colonReplacement, logger, separatorReplacement, whitespaceReplacement
APPDATA_BASEDIR_PROPERTY, OLD_DATADIR_PROPERTY
Constructor and Description |
---|
WindowsPlatform() |
Modifier and Type | Method and Description |
---|---|
boolean |
dataDirPreserveCase() |
boolean |
dataDirReplaceColon() |
boolean |
dataDirReplaceWhitespace() |
String |
getCommandShell()
Returns appropriate command shell for the current windows shell.
|
String |
getName()
Returns the name of this windows platform.
|
File |
getOSApplicationDataDir()
Returns an application data directory in the "Application Data" userdir of
Windows.
|
File |
getUserHome()
Returns the directory for the current user.
|
boolean |
isWin2000()
Check whether this is an Windows 2000 environment.
|
boolean |
isWin2003()
Check whether this is an Windows 2003 environment.
|
boolean |
isWin9x()
Check whether this is windows 9x, or windows NT and higher.
|
boolean |
isWinNT()
Check whether this is an Windows NT environment.
|
boolean |
isWinVista()
Check whether this is an Windows Vista environment.
|
boolean |
isWinXP()
Check whether this is an Windows NT environment.
|
boolean |
warnsWhenOpeningExecutable()
Returns true when the platform is not a Windows 9x platform.
|
getApplicationDataDir, getApplicationDataDir, getOSApplicationDataDir, getRelativeApplicationDataDir, getRelativeApplicationDataDir
public static final String APPLICATION_DATA
public static final String ADUNA_APPLICATION_DATA
public String getName()
public File getUserHome()
Platform
getUserHome
in interface Platform
getUserHome
in class PlatformBase
public File getOSApplicationDataDir()
public boolean warnsWhenOpeningExecutable()
public boolean isWin9x()
public boolean isWinNT()
public boolean isWin2000()
public boolean isWinXP()
public boolean isWin2003()
public boolean isWinVista()
public String getCommandShell()
public boolean dataDirPreserveCase()
public boolean dataDirReplaceWhitespace()
public boolean dataDirReplaceColon()
Copyright © 2001-2016 Aduna. All Rights Reserved.