public static final boolean isWindows = SystemInfoRt.isWindows;
public static final boolean isWindowsNT = _OS_NAME.startsWith("windows nt");
public static final boolean isWindows2000 = _OS_NAME.startsWith("windows 2000");
public static final boolean isWindows2003 = _OS_NAME.startsWith("windows 2003");
public static final boolean isWindowsXP = _OS_NAME.startsWith("windows xp");
public static final boolean isWindowsVista = _OS_NAME.startsWith("windows vista");
public static final boolean isWindows7 = _OS_NAME.startsWith("windows 7");
public static final boolean isWindows9x = _OS_NAME.startsWith("windows 9") || _OS_NAME.startsWith("windows me");
public static final boolean isOS2 = SystemInfoRt.isOS2;
return isMac &&
!OS_VERSION.startsWith("10.0") &&
!OS_VERSION.startsWith("10.1") &&
!OS_VERSION.startsWith("10.2") &&
!OS_VERSION.startsWith("10.3");
private static boolean isSnowLeopard() {
return isMac && isLeopard() && !OS_VERSION.startsWith("10.5");
private static final boolean is =
System.getProperty("os.name").startsWith("Windows");
// MacOS X would probably also qualify
osName.startsWith("Windows") &&
! osName.startsWith("Windows 9") &&
! osName.equals("Windows Me");
}
getenv(namePair[0]).equals(getenv(namePair[1])),
"Windows environment variables are not case insensitive");
private static final boolean is =
System.getProperty("os.name").startsWith("Windows");
// MacOS X would probably also qualify
osName.startsWith("Windows") &&
! osName.startsWith("Windows 9") &&
! osName.equals("Windows Me");
}
getenv(namePair[0]).equals(getenv(namePair[1])),
"Windows environment variables are not case insensitive");
private static final boolean is =
System.getProperty("os.name").startsWith("Windows");
// MacOS X would probably also qualify
osName.startsWith("Windows") &&
! osName.startsWith("Windows 9") &&
! osName.equals("Windows Me");
}
getenv(namePair[0]).equals(getenv(namePair[1])),
"Windows environment variables are not case insensitive");
private static final boolean is =
System.getProperty("os.name").startsWith("Windows");
// MacOS X would probably also qualify
osName.startsWith("Windows") &&
! osName.startsWith("Windows 9") &&
! osName.equals("Windows Me");
}
getenv(namePair[0]).equals(getenv(namePair[1])),
"Windows environment variables are not case insensitive");
private static final boolean is =
System.getProperty("os.name").startsWith("Windows");
// MacOS X would probably also qualify
osName.startsWith("Windows") &&
! osName.startsWith("Windows 9") &&
! osName.equals("Windows Me");
}
getenv(namePair[0]).equals(getenv(namePair[1])),
"Windows environment variables are not case insensitive");
{ "UTF-8", unicode, "" },
{ "windows-1256", null, "" },
{ "Big5-HKSCS", t_chinese, null },
{ "windows-1251", null, "" },
{ "koi8-r", russian, null },
{ "windows-1253", null, "" },
{ "iso-8859-7", greek, null },
{ "iso-8859-9", turkish, null },
{ "windows-1252", null, "" },
int column;
if (osName.startsWith("Windows")) {
private static boolean hasUnicodeFileSystem() {
if (osName.startsWith("Windows")) {
return ! osName.startsWith("Windows 9") &&
! osName.equals("Windows Me");
} else {
{ "UTF-8", unicode, "" },
{ "windows-1256", null, "" },
{ "Big5-HKSCS", t_chinese, null },
{ "windows-1251", null, "" },
{ "koi8-r", russian, null },
{ "windows-1253", null, "" },
{ "iso-8859-7", greek, null },
{ "iso-8859-9", turkish, null },
{ "windows-1252", null, "" },
int column;
if (osName.startsWith("Windows")) {
private static boolean hasUnicodeFileSystem() {
if (osName.startsWith("Windows")) {
return ! osName.startsWith("Windows 9") &&
! osName.equals("Windows Me");
} else {
String osName = System.getProperty("os.name");
if (osName.startsWith("Windows")) {
isWindows = true;
if (osName.startsWith("Windows 9") ||
osName.startsWith("Windows Me"))
return; // win9x/Me cannot handle long paths
if (osName.startsWith("SunOS")) {
String abPath = f.getAbsolutePath();
if (!abPath.startsWith("\\\\") ||
String osName = System.getProperty("os.name");
if (osName.startsWith("Windows")) {
isWindows = true;
if (osName.startsWith("Windows 9") ||
osName.startsWith("Windows Me"))
return; // win9x/Me cannot handle long paths
if (osName.startsWith("SunOS")) {
String abPath = f.getAbsolutePath();
if (!abPath.startsWith("\\\\") ||
String osName = System.getProperty("os.name");
if (osName.startsWith("Windows")) {
isWindows = true;
if (osName.startsWith("Windows 9") ||
osName.startsWith("Windows Me"))
return; // win9x/Me cannot handle long paths
if (osName.startsWith("SunOS")) {
String abPath = f.getAbsolutePath();
if (!abPath.startsWith("\\\\") ||
String osName = System.getProperty("os.name");
if (osName.startsWith("Windows")) {
isWindows = true;
if (osName.startsWith("Windows 9") ||
osName.startsWith("Windows Me"))
return; // win9x/Me cannot handle long paths
if (osName.startsWith("SunOS")) {
String abPath = f.getAbsolutePath();
if (!abPath.startsWith("\\\\") ||