1 | boolean isWin2K() {↵ | | 1 | boolean isWin95() {↵
|
2 | return "Windows 2000".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵ | | 2 | return "Windows 95".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵
|
3 | }↵ | | 3 | }↵
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Returns whether the underlying operating system is Windows 2003.↵ | | 5 | * Returns whether the underlying operating system is Windows 98.↵
|
6 | * ↵ | | 6 | * ↵
|
7 | * @return isWin2K3↵ | | 7 | * @return isWin98↵
|
8 | */↵ | | 8 | */↵
|
9 | public static boolean isWin2K3() {↵ | | 9 | public static boolean isWin98() {↵
|
10 | return "Windows 2003".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵ | | 10 | return "Windows 98".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵
|
11 | }↵ | | 11 | }↵
|
|
12 | /**↵ | | 12 | /**↵
|
13 | * Returns whether the underlying operating system is Windows XP.↵ | | 13 | * Returns whether the underlying operating system is Windows ME.↵
|
14 | * ↵ | | 14 | * ↵
|
15 | * @return isWinXP↵ | | 15 | * @return isWinME↵
|
16 | */↵ | | 16 | */↵
|
17 | public static boolean isWinXP() {↵ | | 17 | public static boolean isWinME() {↵
|
18 | return "Windows XP".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵ | | 18 | return "Windows ME".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵
|
19 | }↵ | | 19 | }↵
|
|
20 | /**↵ | | 20 | /**↵
|
21 | * Returns whether the underlying operating system is Linux.↵ | | 21 | * Returns whether the underlying operating system is Windows NT.↵
|
22 | * ↵ | | 22 | * ↵
|
23 | * @return isLinux↵ | | 23 | * @return isWinNT↵
|
24 | */↵ | | 24 | */↵
|
25 | public static boolean isLinux() {↵ | | 25 | public static boolean isWinNT() {↵
|
26 | return "Linux".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵ | | 26 | return "Windows NT".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵
|
27 | }↵ | | 27 | }↵
|
|
28 | /**↵ | | 28 | /**↵
|
29 | * Returns whether the underlying operating system is Solaris.↵ | | 29 | * Returns whether the underlying operating system is Windows 2000.↵
|
30 | * ↵ | | 30 | * ↵
|
31 | * @return isSolaris↵ | | 31 | * @return isWin2K↵
|
32 | */↵ | | 32 | */↵
|
33 | public static boolean isSolaris() {↵ | | 33 | public static boolean isWin2K() {↵
|
34 | return "Solaris".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵ | | 34 | return "Windows 2000".equalsIgnoreCase(System.getProperty(OS_NAME)); //$NON-NLS-1$↵
|
35 | | | 35 |
|