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 · 89 lines
71 * True if this is OS/2.
72 */
73 public static final boolean IS_OS2 = startsWith(OS_NAME, "OS/2");
75 /**
76 * True if this is the Mac OS X.
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");
85 /**
LookUtils.java (https://github.com/kirill-grouchnikov/radiance.git) Java · 202 lines
70 * True if this is Windows.
71 */
72 public static final boolean IS_OS_WINDOWS = startsWith(OS_NAME, "Windows");
74 /**
86 * @since 2.0
87 */
88 public static final boolean IS_OS_WINDOWS_98 = startsWith(OS_NAME,
89 "Windows 9")
95 * @since 2.0
96 */
97 public static final boolean IS_OS_WINDOWS_NT = startsWith(OS_NAME,
98 "Windows NT");
103 * @since 2.0
104 */
105 public static final boolean IS_OS_WINDOWS_ME = startsWith(OS_NAME,
106 "Windows")
LookUtils.java (https://github.com/kirill-grouchnikov/radiance.git) Java · 163 lines
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 );
60 /** True if this is the Mac OS X. */
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;
69 /** True if RedHat Linux was detected */
OsVersion.java (https://bitbucket.org/jorgenio/gvsig.git) Java · 87 lines
69 * True if this is OS/2.
70 */
71 public static final boolean IS_OS2 = startsWith(OS_NAME, "OS/2");
73 /**
74 * True if this is the Mac OS X.
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");
83 /**