12+ results for 'startsWith(OS_NAME, "Windows 9")' (173 ms)
146 */ 147 public static final boolean IS_OS_WINDOWS = startsWith(OS_NAME, "Windows"); 148 169 */ 170 public static final boolean IS_OS_WINDOWS_98 = startsWith(OS_NAME, 171 "Windows 9") 211 */ 212 public static final boolean IS_OS_WINDOWS_VISTA = startsWith(OS_NAME, 213 "Windows") 225 */ 226 public static final boolean IS_LAF_WINDOWS_XP_ENABLED = isWindowsXPLafEnabled(); 227 329 private static boolean isWindowsXPLafEnabled() { 330 return (IS_OS_WINDOWS_XP || IS_OS_WINDOWS_VISTA) 331 && IS_JAVA_1_4_2_OR_LATEROsVersion.java https://github.com/jponge/izpack-full-svn-history-copy.git | Java | 333 lines
100 */ 101 public static final boolean IS_OS2 = StringTool.startsWith(OS_NAME, OS_2); 102 105 */ 106 public static final boolean IS_MAC = StringTool.startsWith(OS_NAME, MAC); 107 113 /** 114 * True if this is Windows. 115 */ 115 */ 116 public static final boolean IS_WINDOWS = StringTool.startsWith(OS_NAME, WINDOWS); 117 120 */ 121 public static final boolean IS_UNIX = !IS_OS2 && !IS_WINDOWS; 122OsVersion.java https://github.com/jponge/izpack-full-svn-history-copy.git | Java | 267 lines
54 /** True if this is OS/2. */ 55 public static final boolean IS_OS2 = StringTool.startsWith(OS_NAME, OS_2 ); 56 57 /** True is this is Mac OS */ 58 public static final boolean IS_MAC = StringTool.startsWith(OS_NAME, MAC ); 59 63 /** True if this is Windows. */ 64 public static final boolean IS_WINDOWS = StringTool.startsWith(OS_NAME, WINDOWS ); 65 66 /** True if this is some variant of Unix (OSX, Linux, Solaris, FreeBSD, etc). */ 67 public static final boolean IS_UNIX = !IS_OS2 && !IS_WINDOWS; 68 250 251 if( IS_WINDOWS ) 252 {OsVersion.java https://github.com/tsachev/izpack.git | Java | 372 lines
130 */ 131 public static final boolean IS_WINDOWS = StringTool.startsWith(OS_NAME, WINDOWS); 132 135 */ 136 public static final boolean IS_WINDOWS_XP = IS_WINDOWS && OS_VERSION.equals(WINDOWS_XP_VERSION); 137 140 */ 141 public static final boolean IS_WINDOWS_2003 = IS_WINDOWS && OS_VERSION.equals(WINDOWS_2003_VERSION); 142 145 */ 146 public static final boolean IS_WINDOWS_VISTA = IS_WINDOWS && OS_VERSION.equals(WINDOWS_VISTA_VERSION); 147 150 */ 151 public static final boolean IS_WINDOWS_7 = IS_WINDOWS && OS_VERSION.equals(WINDOWS_7_VERSION); 152OsVersion.java https://github.com/jponge/izpack-full-svn-history-copy.git | Java | 87 lines
70 */ 71 public static final boolean IS_OS2 = startsWith(OS_NAME, "OS/2"); 72 75 */ 76 public static final boolean IS_OSX = startsWith(OS_NAME, "Mac") && OS_NAME.endsWith("X"); 77 78 /** 79 * True if this is Windows. 80 */ 80 */ 81 public static final boolean IS_WINDOWS = startsWith(OS_NAME, "Windows"); 82 85 */ 86 public static final boolean IS_UNIX = !IS_OS2 && !IS_WINDOWS; 87}OsVersion.java https://github.com/jponge/izpack-full-svn-history-copy.git | Java | 89 lines
72 */ 73 public static final boolean IS_OS2 = startsWith(OS_NAME, "OS/2"); 74 77 */ 78 public static final boolean IS_OSX = startsWith(OS_NAME, "Mac") && OS_NAME.endsWith("X"); 79 80 /** 81 * True if this is Windows. 82 */ 82 */ 83 public static final boolean IS_WINDOWS = startsWith(OS_NAME, "Windows"); 84 87 */ 88 public static final boolean IS_UNIX = !IS_OS2 && !IS_WINDOWS; 89}SystemUtils.java https://bitbucket.org/djarvis/opcionfontviewer.git | Java | 319 lines
115 public static final boolean IS_OS_WINDOWS_ME = 116 startsWith(OS_NAME, "Windows") && startsWith(OS_VERSION, "4.9"); 117 143 public static final boolean IS_OS_WINDOWS_7 = 144 startsWith(OS_NAME, "Windows") && startsWith(OS_VERSION, "6.1"); 145 150 public static final boolean IS_OS_WINDOWS_8 = 151 startsWith(OS_NAME, "Windows") && startsWith(OS_VERSION, "6.2"); 152 157 public static final boolean IS_OS_WINDOWS_6_OR_LATER = 158 startsWith(OS_NAME, "Windows") && startsWith(OS_VERSION, "6."); 159 217 */ 218 public static final boolean IS_LAF_WINDOWS_XP_ENABLED = isWindowsXPLafEnabled(); 219LookUtils.java https://bitbucket.org/djarvis/opcionfontviewer.git | Java | 277 lines
56 /** 57 * True if this is Windows 98/ME/2000/Server 2003/XP/VISTA/Server 2008. 58 */ 59 public static final boolean IS_OS_WINDOWS_MODERN = 60 startsWith(OS_NAME, "Windows") && !startsWith(OS_VERSION, "4.0"); 61 62 /** 63 * True if this is Windows 95. 64 * 67 public static final boolean IS_OS_WINDOWS_95 = 68 startsWith(OS_NAME, "Windows 9") && startsWith(OS_VERSION, "4.0"); 69 75 public static final boolean IS_OS_WINDOWS_NT = 76 startsWith(OS_NAME, "Windows NT"); 77LookUtils.java https://github.com/akerigan/yafb2lib.git | Java | 492 lines
167 public static final boolean IS_OS_WINDOWS = 168 startsWith(OS_NAME, "Windows"); 169 189 public static final boolean IS_OS_WINDOWS_98 = 190 startsWith(OS_NAME, "Windows 9") && startsWith(OS_VERSION, "4.1"); 191 227 public static final boolean IS_OS_WINDOWS_VISTA = 228 startsWith(OS_NAME, "Windows") && startsWith(OS_VERSION, "6.0"); 229 241 */ 242 public static final boolean IS_LAF_WINDOWS_XP_ENABLED = isWindowsXPLafEnabled(); 243 346 private static boolean isWindowsXPLafEnabled() { 347 return (IS_OS_WINDOWS_XP || IS_OS_WINDOWS_VISTA) 348 && IS_JAVA_1_4_2_OR_LATERLookUtils.java https://github.com/jalian-systems/Marathon.git | Java | 492 lines
167 public static final boolean IS_OS_WINDOWS = 168 startsWith(OS_NAME, "Windows"); 169 189 public static final boolean IS_OS_WINDOWS_98 = 190 startsWith(OS_NAME, "Windows 9") && startsWith(OS_VERSION, "4.1"); 191 227 public static final boolean IS_OS_WINDOWS_VISTA = 228 startsWith(OS_NAME, "Windows") && startsWith(OS_VERSION, "6.0"); 229 241 */ 242 public static final boolean IS_LAF_WINDOWS_XP_ENABLED = isWindowsXPLafEnabled(); 243 346 private static boolean isWindowsXPLafEnabled() { 347 return (IS_OS_WINDOWS_XP || IS_OS_WINDOWS_VISTA) 348 && IS_JAVA_1_4_2_OR_LATERLookUtils.java https://bitbucket.org/wrapman/frostwire.desktop.translations.pirate | Java | 432 lines
140 public static final boolean IS_OS_WINDOWS = 141 startsWith(OS_NAME, "Windows"); 142 143 /** 144 * True if this is Windows 98/ME/2000/XP. 145 */ 146 public static final boolean IS_OS_WINDOWS_MODERN = 147 startsWith(OS_NAME, "Windows") && !startsWith(OS_VERSION, "4.0"); 148 152 public static final boolean IS_OS_WINDOWS_XP = 153 startsWith(OS_NAME, "Windows") && startsWith(OS_VERSION, "5.1"); 154 166 */ 167 public static final boolean IS_LAF_WINDOWS_XP_ENABLED = isWindowsXPLafEnabled(); 168OsVersion.java https://github.com/Jahia/izpack.git | Java | 373 lines
120 */ 121 public static final boolean IS_WINDOWS = StringTool.startsWith(OS_NAME, WINDOWS); 122 135 */ 136 public static final boolean IS_WINDOWS_VISTA = IS_WINDOWS && OS_VERSION.equals(WINDOWS_VISTA_VERSION); 137 145 */ 146 public static final boolean IS_WINDOWS_8 = IS_WINDOWS && OS_VERSION.equals(WINDOWS_8_VERSION); 147 150 */ 151 public static final boolean IS_WINDOWS_81 = IS_WINDOWS && OS_VERSION.equals(WINDOWS_81_VERSION); 152 155 */ 156 public static final boolean IS_WINDOWS_ADMIN_REQUIRED = IS_WINDOWS && (IS_WINDOWS_VISTA || IS_WINDOWS_7 || IS_WINDOWS_8 || IS_WINDOWS_81); 157