PageRenderTime 1292ms queryTime 81ms sortTime 0ms getByIdsTime 42ms findMatchingLines 23ms

12+ results for 'startsWith(OS_NAME, "Windows 9")' (1292 ms)

Not the results you expected?
LookUtils.java https://github.com/diegoauyon/Ja-Decaf.git | Java | 449 lines
                    
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_LATER
                    
                
OsVersion.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/jponge/izpack-full-svn-history-copy.git | Java | 291 lines
                    
99     */
                    
100    public static final boolean IS_OS2 = StringTool.startsWith(OS_NAME, OS_2);
                    
101
                    
104     */
                    
105    public static final boolean IS_MAC = StringTool.startsWith(OS_NAME, MAC);
                    
106
                    
112    /**
                    
113     * True if this is Windows.
                    
114     */
                    
114     */
                    
115    public static final boolean IS_WINDOWS = StringTool.startsWith(OS_NAME, WINDOWS);
                    
116
                    
119     */
                    
120    public static final boolean IS_UNIX = !IS_OS2 && !IS_WINDOWS;
                    
121
                    
                
OsVersion.java https://github.com/jponge/izpack-full-svn-history-copy.git | Java | 358 lines
                    
120     */
                    
121    public static final boolean IS_WINDOWS = StringTool.startsWith(OS_NAME, WINDOWS);
                    
122
                    
125     */
                    
126    public static final boolean IS_WINDOWS_XP = IS_WINDOWS && OS_VERSION.equals(WINDOWS_XP_VERSION);
                    
127
                    
130     */
                    
131    public static final boolean IS_WINDOWS_2003 = IS_WINDOWS && OS_VERSION.equals(WINDOWS_2003_VERSION);
                    
132
                    
135     */
                    
136    public static final boolean IS_WINDOWS_VISTA = IS_WINDOWS && OS_VERSION.equals(WINDOWS_VISTA_VERSION);
                    
137
                    
140     */
                    
141    public static final boolean IS_WINDOWS_7 = IS_WINDOWS && OS_VERSION.equals(WINDOWS_7_VERSION);
                    
142
                    
                
OsVersion.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();
                    
219
                    
                
LookUtils.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");
                    
77
                    
                
LookUtils.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_LATER 
                    
                
LookUtils.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_LATER
                    
                
LookUtils.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();
                    
168    
                    
                
OsVersion.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
                    
                
 

Source

Language