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 );

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://bitbucket.org/jorgenio/gvsig.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 */

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 */

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 }

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");

73

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")

LookUtils.java (https://github.com/kirill-grouchnikov/radiance.git) Java · 163 lines

63 */

64 public static final boolean IS_OS_MAC = startsWith(OS_NAME, "Mac");

65

66 /**

67 * True if this is Windows 98/ME/2000/XP/VISTA.

68 */

69 public static final boolean IS_OS_WINDOWS_MODERN = startsWith(OS_NAME,

70 "Windows")