5+ results for 'startsWith(OS_NAME, "Windows 9")' (0 ms)
Not the results you expected?
OsVersion.java (https://github.com/jponge/izpack-full-svn-history-copy.git) Java · 268 lines
54 /** True if this is OS/2. */
55 public static final boolean IS_OS2 = StringTool.startsWith(OS_NAME, OS_2 );
57 /** True is this is Mac OS */
58 public static final boolean IS_MAC = StringTool.startsWith(OS_NAME, MAC );
63 /** True if this is Windows. */
64 public static final boolean IS_WINDOWS = StringTool.startsWith(OS_NAME, WINDOWS );
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;
251 if( IS_WINDOWS )
252 {
OsVersion.java (https://bitbucket.org/jorgenio/gvsig.git) Java · 87 lines
70 */
71 public static final boolean IS_OS2 = startsWith(OS_NAME, "OS/2");
75 */
76 public static final boolean IS_OSX = startsWith(OS_NAME, "Mac") && OS_NAME.endsWith("X");
78 /**
79 * True if this is Windows.
80 */
81 public static final boolean IS_WINDOWS = startsWith(OS_NAME, "Windows");
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");
77 */
78 public static final boolean IS_OSX = startsWith(OS_NAME, "Mac") && OS_NAME.endsWith("X");
80 /**
81 * True if this is Windows.
82 */
83 public static final boolean IS_WINDOWS = startsWith(OS_NAME, "Windows");
87 */
88 public static final boolean IS_UNIX = !IS_OS2 && !IS_WINDOWS;
89 }
LookUtils.java (https://github.com/kirill-grouchnikov/radiance.git) Java · 202 lines
71 */
72 public static final boolean IS_OS_WINDOWS = startsWith(OS_NAME, "Windows");
78 */
79 public static final boolean IS_OS_WINDOWS_95 = startsWith(OS_NAME,
80 "Windows 9")
87 */
88 public static final boolean IS_OS_WINDOWS_98 = startsWith(OS_NAME,
89 "Windows 9")
96 */
97 public static final boolean IS_OS_WINDOWS_NT = startsWith(OS_NAME,
98 "Windows NT");
104 */
105 public static final boolean IS_OS_WINDOWS_ME = startsWith(OS_NAME,
106 "Windows")