Windows implementation of OperatingSystem.
| Modifiers | Name | Description |
|---|---|---|
static OperatingSystem |
INSTANCE |
| Fields inherited from class | Fields |
|---|---|
class OperatingSystem |
OS_ARCH, OS_NAME, OS_VERSION |
| Type | Name and description |
|---|---|
String |
pathVarReturns Windows system search path environmental variable name. |
String |
pathextVarName of environmental variable that holds a list of the file extensions considered to be executable |
String |
sharedLibrarySuffixReturn Windows string that is used to suffix to shared libraries |
String |
staticLibrarySuffixWindows string that is used to suffix to static libraries |
| Constructor and description |
|---|
protected Windows
() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
Arch |
getArch()Architecture underlying the operating system |
|
String |
getArchStr()Architecture underlying the operating system |
|
String |
getExecutableName(String executablePath) |
|
java.util.List<String> |
getExecutableNames(String executablePath) |
|
String |
getScriptName(String scriptPath)Returns Windows-specific decorated script name. |
|
String |
getSharedLibraryName(String libraryName)Returns Windows shared library name |
|
String |
getStaticLibraryName(String libraryName)Returns OS-specific static library name |
|
boolean |
isWindows()Confirms this is a representation of the Microsoft Windows operating system. |
| Methods inherited from class | Name |
|---|---|
class OperatingSystem |
current, findAllInPath, findInPath, getArch, getArchStr, getExecutableName, getExecutableNames, getPath, getPathSeparator, getScriptName, getSharedLibraryName, getSharedLibrarySuffix, getStaticLibraryName, getStaticLibrarySuffix, isFreeBSD, isLinux, isMacOsX, isNetBSD, isSolaris, isUnix, isWindows, toString |
Returns Windows system search path environmental variable name.
Name of environmental variable that holds a list of the file extensions considered to be executable
Return Windows string that is used to suffix to shared libraries
Windows string that is used to suffix to static libraries
Architecture underlying the operating system
OperatingSystem.Arch.UNKNOWN is it cannot be identified. In that a
caller might need to use getArchStr() to help with identification.Returns Windows-specific decorated script name.
scriptPath - Name of script..bat based name.Returns Windows shared library name
libraryName - This can be a base name or a full name..dll extensionReturns OS-specific static library name
libraryName - This can be a base name or a full name.Confirms this is a representation of the Microsoft Windows operating system.
trueGroovy Documentation