public class CorePlatformUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
IS_CYGWIN |
static boolean |
IS_MINGW_XTERM |
static boolean |
SUPPORTS_UTF_ENCODING |
| Constructor and Description |
|---|
CorePlatformUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkAcceptCondition(NEnvCondition condition,
boolean currentVM) |
static Map<String,String> |
getOsDistMap() |
static Map<String,String> |
getOsDistMapLinux()
this is inspired from
http://stackoverflow.com/questions/15018474/getting-linux-distro-from-java
thanks to //PbxMan//
|
static String |
getPackageName(String cn) |
static String |
getPlatformOs()
https://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions
|
static NId |
getPlatformOsDist() |
static String |
getSimpleClassName(String cn) |
static boolean |
isLoadedClassPath(File file,
ClassLoader classLoader,
NTerminal terminal) |
static <T> T |
runWithinLoader(Callable<T> callable,
ClassLoader loader) |
public static final boolean SUPPORTS_UTF_ENCODING
public static boolean IS_CYGWIN
public static boolean IS_MINGW_XTERM
public static Map<String,String> getOsDistMapLinux()
public static NId getPlatformOsDist()
public static String getPlatformOs()
public static boolean checkAcceptCondition(NEnvCondition condition, boolean currentVM)
public static boolean isLoadedClassPath(File file, ClassLoader classLoader, NTerminal terminal)
public static <T> T runWithinLoader(Callable<T> callable, ClassLoader loader)
Copyright © 2025 vpc open source initiative. All rights reserved.