public class Environment extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Environment.OSVERSIONINFOEX |
| Constructor and Description |
|---|
Environment() |
| Modifier and Type | Method and Description |
|---|---|
static String |
expandEnvironmentString(String var) |
static String[] |
getCommandLine() |
static String |
getEnv(String name) |
static int |
GetEnvironmentVariable(String lpName,
StringBuilder lpBuffer,
PInvoke.UIntPtr nsize) |
static Properties |
getEnvironmentVariables() |
static File[] |
getLogicalDrives() |
static boolean |
GetVersionEx(Environment.OSVERSIONINFOEX version) |
public static String[] getCommandLine()
public static Properties getEnvironmentVariables()
public static int GetEnvironmentVariable(String lpName, StringBuilder lpBuffer, PInvoke.UIntPtr nsize)
public static File[] getLogicalDrives()
public static boolean GetVersionEx(Environment.OSVERSIONINFOEX version)
Copyright © 2018. All rights reserved.