Debian Codegraph @

docs/api/com/jgoodies/common/base/SystemUtils.html

raw
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!-- NewPage -->
3 <html lang="de">
4 <head>
5 <!-- Generated by javadoc (version 1.7.0_72) on Sat Jan 03 14:59:59 CET 2015 -->
6 <title>SystemUtils (JGoodies Common 1.8 API)</title>
7 <meta name="date" content="2015-01-03">
8 <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9 </head>
10 <body>
11 <script type="text/javascript"><!--
12 if (location.href.indexOf('is-external=true') == -1) {
13 parent.document.title="SystemUtils (JGoodies Common 1.8 API)";
14 }
15 //-->
16 </script>
17 <noscript>
18 <div>JavaScript is disabled on your browser.</div>
19 </noscript>
20 <!-- ========= START OF TOP NAVBAR ======= -->
21 <div class="topNav"><a name="navbar_top">
22 <!-- -->
23 </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24 <!-- -->
25 </a>
26 <ul class="navList" title="Navigation">
27 <li><a href="../../../../overview-summary.html">Overview</a></li>
28 <li><a href="package-summary.html">Package</a></li>
29 <li class="navBarCell1Rev">Class</li>
30 <li><a href="class-use/SystemUtils.html">Use</a></li>
31 <li><a href="package-tree.html">Tree</a></li>
32 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
33 <li><a href="../../../../index-all.html">Index</a></li>
34 <li><a href="../../../../help-doc.html">Help</a></li>
35 </ul>
36 </div>
37 <div class="subNav">
38 <ul class="navList">
39 <li><a href="../../../../com/jgoodies/common/base/Strings.html" title="class in com.jgoodies.common.base"><span class="strong">Prev Class</span></a></li>
40 <li>Next Class</li>
41 </ul>
42 <ul class="navList">
43 <li><a href="../../../../index.html?com/jgoodies/common/base/SystemUtils.html" target="_top">Frames</a></li>
44 <li><a href="SystemUtils.html" target="_top">No Frames</a></li>
45 </ul>
46 <ul class="navList" id="allclasses_navbar_top">
47 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
48 </ul>
49 <div>
50 <script type="text/javascript"><!--
51 allClassesLink = document.getElementById("allclasses_navbar_top");
52 if(window==top) {
53 allClassesLink.style.display = "block";
54 }
55 else {
56 allClassesLink.style.display = "none";
57 }
58 //-->
59 </script>
60 </div>
61 <div>
62 <ul class="subNavList">
63 <li>Summary:&nbsp;</li>
64 <li>Nested&nbsp;|&nbsp;</li>
65 <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
66 <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
67 <li><a href="#method_summary">Method</a></li>
68 </ul>
69 <ul class="subNavList">
70 <li>Detail:&nbsp;</li>
71 <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
72 <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
73 <li><a href="#method_detail">Method</a></li>
74 </ul>
75 </div>
76 <a name="skip-navbar_top">
77 <!-- -->
78 </a></div>
79 <!-- ========= END OF TOP NAVBAR ========= -->
80 <!-- ======== START OF CLASS DATA ======== -->
81 <div class="header">
82 <div class="subTitle">com.jgoodies.common.base</div>
83 <h2 title="Class SystemUtils" class="title">Class SystemUtils</h2>
84 </div>
85 <div class="contentContainer">
86 <ul class="inheritance">
87 <li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
88 <li>
89 <ul class="inheritance">
90 <li>com.jgoodies.common.base.SystemUtils</li>
91 </ul>
92 </li>
93 </ul>
94 <div class="description">
95 <ul class="blockList">
96 <li class="blockList">
97 <hr>
98 <br>
99 <pre>public class <span class="strong">SystemUtils</span>
100 extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
101 <div class="block">Provides convenience behavior to determine the operating system
102 and Java version.</div>
103 <dl><dt><span class="strong">Author:</span></dt>
104 <dd>Karsten Lentzsch</dd></dl>
105 </li>
106 </ul>
107 </div>
108 <div class="summary">
109 <ul class="blockList">
110 <li class="blockList">
111 <!-- =========== FIELD SUMMARY =========== -->
112 <ul class="blockList">
113 <li class="blockList"><a name="field_summary">
114 <!-- -->
115 </a>
116 <h3>Field Summary</h3>
117 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
118 <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
119 <tr>
120 <th class="colFirst" scope="col">Modifier and Type</th>
121 <th class="colLast" scope="col">Field and Description</th>
122 </tr>
123 <tr class="altColor">
124 <td class="colFirst"><code>static boolean</code></td>
125 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#HAS_MODERN_RASTERIZER">HAS_MODERN_RASTERIZER</a></strong></code>
126 <div class="block">True since Java 6 update 10.</div>
127 </td>
128 </tr>
129 <tr class="rowColor">
130 <td class="colFirst"><code>static boolean</code></td>
131 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_JAVA_6">IS_JAVA_6</a></strong></code>
132 <div class="block">True if this is Java 6.</div>
133 </td>
134 </tr>
135 <tr class="altColor">
136 <td class="colFirst"><code>static boolean</code></td>
137 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_JAVA_7">IS_JAVA_7</a></strong></code>
138 <div class="block">True if this is Java 7.</div>
139 </td>
140 </tr>
141 <tr class="rowColor">
142 <td class="colFirst"><code>static boolean</code></td>
143 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_JAVA_7_OR_LATER">IS_JAVA_7_OR_LATER</a></strong></code>
144 <div class="block">True if this is Java 7.x or later.</div>
145 </td>
146 </tr>
147 <tr class="altColor">
148 <td class="colFirst"><code>static boolean</code></td>
149 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_JAVA_8">IS_JAVA_8</a></strong></code>
150 <div class="block">True if this is Java 7.</div>
151 </td>
152 </tr>
153 <tr class="rowColor">
154 <td class="colFirst"><code>static boolean</code></td>
155 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_JAVA_8_OR_LATER">IS_JAVA_8_OR_LATER</a></strong></code>
156 <div class="block">True if this is Java 8.x or later.</div>
157 </td>
158 </tr>
159 <tr class="altColor">
160 <td class="colFirst"><code>static boolean</code></td>
161 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_LAF_WINDOWS_XP_ENABLED">IS_LAF_WINDOWS_XP_ENABLED</a></strong></code>
162 <div class="block">True if the Windows XP Look&amp;Feel is enabled.</div>
163 </td>
164 </tr>
165 <tr class="rowColor">
166 <td class="colFirst"><code>static boolean</code></td>
167 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_LOW_RESOLUTION">IS_LOW_RESOLUTION</a></strong></code>
168 <div class="block">Is true if this environment's default toolkit reports a screen resolution
169 below 120 dpi.</div>
170 </td>
171 </tr>
172 <tr class="altColor">
173 <td class="colFirst"><code>static boolean</code></td>
174 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_LINUX">IS_OS_LINUX</a></strong></code>
175 <div class="block">Is true if this is Linux.</div>
176 </td>
177 </tr>
178 <tr class="rowColor">
179 <td class="colFirst"><code>static boolean</code></td>
180 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_MAC">IS_OS_MAC</a></strong></code>
181 <div class="block">True if this is the Mac OS.</div>
182 </td>
183 </tr>
184 <tr class="altColor">
185 <td class="colFirst"><code>static boolean</code></td>
186 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_SOLARIS">IS_OS_SOLARIS</a></strong></code>
187 <div class="block">True if this is Solaris.</div>
188 </td>
189 </tr>
190 <tr class="rowColor">
191 <td class="colFirst"><code>static boolean</code></td>
192 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS">IS_OS_WINDOWS</a></strong></code>
193 <div class="block">True if this is Windows.</div>
194 </td>
195 </tr>
196 <tr class="altColor">
197 <td class="colFirst"><code>static boolean</code></td>
198 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS_2000">IS_OS_WINDOWS_2000</a></strong></code>
199 <div class="block">True if this is Windows 2000.</div>
200 </td>
201 </tr>
202 <tr class="rowColor">
203 <td class="colFirst"><code>static boolean</code></td>
204 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS_6_OR_LATER">IS_OS_WINDOWS_6_OR_LATER</a></strong></code>
205 <div class="block">True if this is one of:
206 Windows Vista,
207 Windows Server 2008,
208 Windows Server 2008 R2,
209 Windows 7,
210 Windows Server 2012,
211 Windows 8,
212 Windows Server 2012 R2,
213 Windows 8.1</div>
214 </td>
215 </tr>
216 <tr class="altColor">
217 <td class="colFirst"><code>static boolean</code></td>
218 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS_7">IS_OS_WINDOWS_7</a></strong></code>
219 <div class="block">True if this is Windows 7.</div>
220 </td>
221 </tr>
222 <tr class="rowColor">
223 <td class="colFirst"><code>static boolean</code></td>
224 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS_8">IS_OS_WINDOWS_8</a></strong></code>
225 <div class="block">True if this is Windows 8 or Windows Server 2012.</div>
226 </td>
227 </tr>
228 <tr class="altColor">
229 <td class="colFirst"><code>static boolean</code></td>
230 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS_98">IS_OS_WINDOWS_98</a></strong></code>
231 <div class="block">True if this is Windows 98.</div>
232 </td>
233 </tr>
234 <tr class="rowColor">
235 <td class="colFirst"><code>static boolean</code></td>
236 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS_ME">IS_OS_WINDOWS_ME</a></strong></code>
237 <div class="block">True if this is Windows ME.</div>
238 </td>
239 </tr>
240 <tr class="altColor">
241 <td class="colFirst"><code>static boolean</code></td>
242 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS_VISTA">IS_OS_WINDOWS_VISTA</a></strong></code>
243 <div class="block">True if this is Windows Vista or Server 2008.</div>
244 </td>
245 </tr>
246 <tr class="rowColor">
247 <td class="colFirst"><code>static boolean</code></td>
248 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS_XP">IS_OS_WINDOWS_XP</a></strong></code>
249 <div class="block">True if this is Windows XP.</div>
250 </td>
251 </tr>
252 <tr class="altColor">
253 <td class="colFirst"><code>static boolean</code></td>
254 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#IS_OS_WINDOWS_XP_64_BIT_OR_SERVER_2003">IS_OS_WINDOWS_XP_64_BIT_OR_SERVER_2003</a></strong></code>
255 <div class="block">True if this is Windows XP 64-Bit edition or Windows Server 2003
256 or Windows Server 2003 R2.</div>
257 </td>
258 </tr>
259 <tr class="rowColor">
260 <td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
261 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#JAVA_VERSION">JAVA_VERSION</a></strong></code>
262 <div class="block">The <code>os.name</code> System Property.</div>
263 </td>
264 </tr>
265 <tr class="altColor">
266 <td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
267 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#OS_NAME">OS_NAME</a></strong></code>
268 <div class="block">The <code>os.name</code> System Property.</div>
269 </td>
270 </tr>
271 <tr class="rowColor">
272 <td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
273 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#OS_VERSION">OS_VERSION</a></strong></code>
274 <div class="block">The <code>os.version</code> System Property.</div>
275 </td>
276 </tr>
277 </table>
278 </li>
279 </ul>
280 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
281 <ul class="blockList">
282 <li class="blockList"><a name="constructor_summary">
283 <!-- -->
284 </a>
285 <h3>Constructor Summary</h3>
286 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
287 <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
288 <tr>
289 <th class="colFirst" scope="col">Modifier</th>
290 <th class="colLast" scope="col">Constructor and Description</th>
291 </tr>
292 <tr class="altColor">
293 <td class="colFirst"><code>protected </code></td>
294 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#SystemUtils()">SystemUtils</a></strong>()</code>&nbsp;</td>
295 </tr>
296 </table>
297 </li>
298 </ul>
299 <!-- ========== METHOD SUMMARY =========== -->
300 <ul class="blockList">
301 <li class="blockList"><a name="method_summary">
302 <!-- -->
303 </a>
304 <h3>Method Summary</h3>
305 <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
306 <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
307 <tr>
308 <th class="colFirst" scope="col">Modifier and Type</th>
309 <th class="colLast" scope="col">Method and Description</th>
310 </tr>
311 <tr class="altColor">
312 <td class="colFirst"><code>protected static <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
313 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#getSystemProperty(java.lang.String)">getSystemProperty</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</code>
314 <div class="block">Tries to look up the System property for the given key.</div>
315 </td>
316 </tr>
317 <tr class="rowColor">
318 <td class="colFirst"><code>static boolean</code></td>
319 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#isLafAqua()">isLafAqua</a></strong>()</code>
320 <div class="block">Checks and answers whether an Aqua look&amp;feel is active.</div>
321 </td>
322 </tr>
323 <tr class="altColor">
324 <td class="colFirst"><code>protected static boolean</code></td>
325 <td class="colLast"><code><strong><a href="../../../../com/jgoodies/common/base/SystemUtils.html#startsWith(java.lang.String,%20java.lang.String)">startsWith</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
326 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)</code>&nbsp;</td>
327 </tr>
328 </table>
329 <ul class="blockList">
330 <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
331 <!-- -->
332 </a>
333 <h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
334 <code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li>
335 </ul>
336 </li>
337 </ul>
338 </li>
339 </ul>
340 </div>
341 <div class="details">
342 <ul class="blockList">
343 <li class="blockList">
344 <!-- ============ FIELD DETAIL =========== -->
345 <ul class="blockList">
346 <li class="blockList"><a name="field_detail">
347 <!-- -->
348 </a>
349 <h3>Field Detail</h3>
350 <a name="OS_NAME">
351 <!-- -->
352 </a>
353 <ul class="blockList">
354 <li class="blockList">
355 <h4>OS_NAME</h4>
356 <pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> OS_NAME</pre>
357 <div class="block">The <code>os.name</code> System Property. Operating system name.<p>
358
359 Defaults to <code>null</code>, if the runtime does not have security
360 access to read this property or the property does not exist.</div>
361 </li>
362 </ul>
363 <a name="OS_VERSION">
364 <!-- -->
365 </a>
366 <ul class="blockList">
367 <li class="blockList">
368 <h4>OS_VERSION</h4>
369 <pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> OS_VERSION</pre>
370 <div class="block">The <code>os.version</code> System Property. Operating system version.<p>
371
372 Defaults to <code>null</code>, if the runtime does not have security
373 access to read this property or the property does not exist.</div>
374 </li>
375 </ul>
376 <a name="JAVA_VERSION">
377 <!-- -->
378 </a>
379 <ul class="blockList">
380 <li class="blockList">
381 <h4>JAVA_VERSION</h4>
382 <pre>protected static final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> JAVA_VERSION</pre>
383 <div class="block">The <code>os.name</code> System Property. Operating system name.<p>
384
385 Defaults to <code>null</code>, if the runtime does not have security
386 access to read this property or the property does not exist.</div>
387 </li>
388 </ul>
389 <a name="IS_OS_LINUX">
390 <!-- -->
391 </a>
392 <ul class="blockList">
393 <li class="blockList">
394 <h4>IS_OS_LINUX</h4>
395 <pre>public static final&nbsp;boolean IS_OS_LINUX</pre>
396 <div class="block">Is true if this is Linux.</div>
397 </li>
398 </ul>
399 <a name="IS_OS_MAC">
400 <!-- -->
401 </a>
402 <ul class="blockList">
403 <li class="blockList">
404 <h4>IS_OS_MAC</h4>
405 <pre>public static final&nbsp;boolean IS_OS_MAC</pre>
406 <div class="block">True if this is the Mac OS.</div>
407 </li>
408 </ul>
409 <a name="IS_OS_SOLARIS">
410 <!-- -->
411 </a>
412 <ul class="blockList">
413 <li class="blockList">
414 <h4>IS_OS_SOLARIS</h4>
415 <pre>public static final&nbsp;boolean IS_OS_SOLARIS</pre>
416 <div class="block">True if this is Solaris.</div>
417 </li>
418 </ul>
419 <a name="IS_OS_WINDOWS">
420 <!-- -->
421 </a>
422 <ul class="blockList">
423 <li class="blockList">
424 <h4>IS_OS_WINDOWS</h4>
425 <pre>public static final&nbsp;boolean IS_OS_WINDOWS</pre>
426 <div class="block">True if this is Windows.</div>
427 </li>
428 </ul>
429 <a name="IS_OS_WINDOWS_98">
430 <!-- -->
431 </a>
432 <ul class="blockList">
433 <li class="blockList">
434 <h4>IS_OS_WINDOWS_98</h4>
435 <pre>public static final&nbsp;boolean IS_OS_WINDOWS_98</pre>
436 <div class="block">True if this is Windows 98.</div>
437 </li>
438 </ul>
439 <a name="IS_OS_WINDOWS_ME">
440 <!-- -->
441 </a>
442 <ul class="blockList">
443 <li class="blockList">
444 <h4>IS_OS_WINDOWS_ME</h4>
445 <pre>public static final&nbsp;boolean IS_OS_WINDOWS_ME</pre>
446 <div class="block">True if this is Windows ME.</div>
447 </li>
448 </ul>
449 <a name="IS_OS_WINDOWS_2000">
450 <!-- -->
451 </a>
452 <ul class="blockList">
453 <li class="blockList">
454 <h4>IS_OS_WINDOWS_2000</h4>
455 <pre>public static final&nbsp;boolean IS_OS_WINDOWS_2000</pre>
456 <div class="block">True if this is Windows 2000.</div>
457 </li>
458 </ul>
459 <a name="IS_OS_WINDOWS_XP">
460 <!-- -->
461 </a>
462 <ul class="blockList">
463 <li class="blockList">
464 <h4>IS_OS_WINDOWS_XP</h4>
465 <pre>public static final&nbsp;boolean IS_OS_WINDOWS_XP</pre>
466 <div class="block">True if this is Windows XP.</div>
467 </li>
468 </ul>
469 <a name="IS_OS_WINDOWS_XP_64_BIT_OR_SERVER_2003">
470 <!-- -->
471 </a>
472 <ul class="blockList">
473 <li class="blockList">
474 <h4>IS_OS_WINDOWS_XP_64_BIT_OR_SERVER_2003</h4>
475 <pre>public static final&nbsp;boolean IS_OS_WINDOWS_XP_64_BIT_OR_SERVER_2003</pre>
476 <div class="block">True if this is Windows XP 64-Bit edition or Windows Server 2003
477 or Windows Server 2003 R2.</div>
478 <dl><dt><span class="strong">Since:</span></dt>
479 <dd>1.8</dd></dl>
480 </li>
481 </ul>
482 <a name="IS_OS_WINDOWS_VISTA">
483 <!-- -->
484 </a>
485 <ul class="blockList">
486 <li class="blockList">
487 <h4>IS_OS_WINDOWS_VISTA</h4>
488 <pre>public static final&nbsp;boolean IS_OS_WINDOWS_VISTA</pre>
489 <div class="block">True if this is Windows Vista or Server 2008.</div>
490 </li>
491 </ul>
492 <a name="IS_OS_WINDOWS_7">
493 <!-- -->
494 </a>
495 <ul class="blockList">
496 <li class="blockList">
497 <h4>IS_OS_WINDOWS_7</h4>
498 <pre>public static final&nbsp;boolean IS_OS_WINDOWS_7</pre>
499 <div class="block">True if this is Windows 7.</div>
500 </li>
501 </ul>
502 <a name="IS_OS_WINDOWS_8">
503 <!-- -->
504 </a>
505 <ul class="blockList">
506 <li class="blockList">
507 <h4>IS_OS_WINDOWS_8</h4>
508 <pre>public static final&nbsp;boolean IS_OS_WINDOWS_8</pre>
509 <div class="block">True if this is Windows 8 or Windows Server 2012.</div>
510 </li>
511 </ul>
512 <a name="IS_OS_WINDOWS_6_OR_LATER">
513 <!-- -->
514 </a>
515 <ul class="blockList">
516 <li class="blockList">
517 <h4>IS_OS_WINDOWS_6_OR_LATER</h4>
518 <pre>public static final&nbsp;boolean IS_OS_WINDOWS_6_OR_LATER</pre>
519 <div class="block">True if this is one of:
520 Windows Vista,
521 Windows Server 2008,
522 Windows Server 2008 R2,
523 Windows 7,
524 Windows Server 2012,
525 Windows 8,
526 Windows Server 2012 R2,
527 Windows 8.1</div>
528 </li>
529 </ul>
530 <a name="IS_JAVA_6">
531 <!-- -->
532 </a>
533 <ul class="blockList">
534 <li class="blockList">
535 <h4>IS_JAVA_6</h4>
536 <pre>public static final&nbsp;boolean IS_JAVA_6</pre>
537 <div class="block">True if this is Java 6. We check for a prefix of 1.6.</div>
538 </li>
539 </ul>
540 <a name="IS_JAVA_7">
541 <!-- -->
542 </a>
543 <ul class="blockList">
544 <li class="blockList">
545 <h4>IS_JAVA_7</h4>
546 <pre>public static final&nbsp;boolean IS_JAVA_7</pre>
547 <div class="block">True if this is Java 7. We check for a prefix of 1.7.</div>
548 </li>
549 </ul>
550 <a name="IS_JAVA_7_OR_LATER">
551 <!-- -->
552 </a>
553 <ul class="blockList">
554 <li class="blockList">
555 <h4>IS_JAVA_7_OR_LATER</h4>
556 <pre>public static final&nbsp;boolean IS_JAVA_7_OR_LATER</pre>
557 <div class="block">True if this is Java 7.x or later. We check that it's not 1.6.</div>
558 </li>
559 </ul>
560 <a name="IS_JAVA_8">
561 <!-- -->
562 </a>
563 <ul class="blockList">
564 <li class="blockList">
565 <h4>IS_JAVA_8</h4>
566 <pre>public static final&nbsp;boolean IS_JAVA_8</pre>
567 <div class="block">True if this is Java 7. We check for a prefix of 1.7.</div>
568 <dl><dt><span class="strong">Since:</span></dt>
569 <dd>1.6</dd></dl>
570 </li>
571 </ul>
572 <a name="IS_JAVA_8_OR_LATER">
573 <!-- -->
574 </a>
575 <ul class="blockList">
576 <li class="blockList">
577 <h4>IS_JAVA_8_OR_LATER</h4>
578 <pre>public static final&nbsp;boolean IS_JAVA_8_OR_LATER</pre>
579 <div class="block">True if this is Java 8.x or later.
580 We check that it's neither 1.6 nor 1.7.</div>
581 <dl><dt><span class="strong">Since:</span></dt>
582 <dd>1.6</dd></dl>
583 </li>
584 </ul>
585 <a name="HAS_MODERN_RASTERIZER">
586 <!-- -->
587 </a>
588 <ul class="blockList">
589 <li class="blockList">
590 <h4>HAS_MODERN_RASTERIZER</h4>
591 <pre>public static final&nbsp;boolean HAS_MODERN_RASTERIZER</pre>
592 <div class="block">True since Java 6 update 10.</div>
593 <dl><dt><span class="strong">Since:</span></dt>
594 <dd>1.2</dd></dl>
595 </li>
596 </ul>
597 <a name="IS_LAF_WINDOWS_XP_ENABLED">
598 <!-- -->
599 </a>
600 <ul class="blockList">
601 <li class="blockList">
602 <h4>IS_LAF_WINDOWS_XP_ENABLED</h4>
603 <pre>public static final&nbsp;boolean IS_LAF_WINDOWS_XP_ENABLED</pre>
604 <div class="block">True if the Windows XP Look&amp;Feel is enabled.</div>
605 <dl><dt><span class="strong">Since:</span></dt>
606 <dd>1.2</dd></dl>
607 </li>
608 </ul>
609 <a name="IS_LOW_RESOLUTION">
610 <!-- -->
611 </a>
612 <ul class="blockListLast">
613 <li class="blockList">
614 <h4>IS_LOW_RESOLUTION</h4>
615 <pre>public static final&nbsp;boolean IS_LOW_RESOLUTION</pre>
616 <div class="block">Is true if this environment's default toolkit reports a screen resolution
617 below 120 dpi.<p></div>
618 <dl><dt><span class="strong">Since:</span></dt>
619 <dd>1.2</dd></dl>
620 </li>
621 </ul>
622 </li>
623 </ul>
624 <!-- ========= CONSTRUCTOR DETAIL ======== -->
625 <ul class="blockList">
626 <li class="blockList"><a name="constructor_detail">
627 <!-- -->
628 </a>
629 <h3>Constructor Detail</h3>
630 <a name="SystemUtils()">
631 <!-- -->
632 </a>
633 <ul class="blockListLast">
634 <li class="blockList">
635 <h4>SystemUtils</h4>
636 <pre>protected&nbsp;SystemUtils()</pre>
637 </li>
638 </ul>
639 </li>
640 </ul>
641 <!-- ============ METHOD DETAIL ========== -->
642 <ul class="blockList">
643 <li class="blockList"><a name="method_detail">
644 <!-- -->
645 </a>
646 <h3>Method Detail</h3>
647 <a name="isLafAqua()">
648 <!-- -->
649 </a>
650 <ul class="blockList">
651 <li class="blockList">
652 <h4>isLafAqua</h4>
653 <pre>public static&nbsp;boolean&nbsp;isLafAqua()</pre>
654 <div class="block">Checks and answers whether an Aqua look&amp;feel is active.
655 This may be Apple's Aqua L&amp;f, or a sub-L&amp;f that
656 uses the same ID, because it doesn't substantially change the look.</div>
657 <dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the current look&amp;feel is Aqua-like</dd><dt><span class="strong">Since:</span></dt>
658 <dd>1.8</dd></dl>
659 </li>
660 </ul>
661 <a name="getSystemProperty(java.lang.String)">
662 <!-- -->
663 </a>
664 <ul class="blockList">
665 <li class="blockList">
666 <h4>getSystemProperty</h4>
667 <pre>protected static&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSystemProperty(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;key)</pre>
668 <div class="block">Tries to look up the System property for the given key.
669 In untrusted environments this may throw a SecurityException.
670 In this case we catch the exception and answer an empty string.</div>
671 <dl><dt><span class="strong">Parameters:</span></dt><dd><code>key</code> - the name of the system property</dd>
672 <dt><span class="strong">Returns:</span></dt><dd>the system property's String value, or <code>null</code> if there's
673 no such value, or an empty String when
674 a SecurityException has been caught</dd></dl>
675 </li>
676 </ul>
677 <a name="startsWith(java.lang.String, java.lang.String)">
678 <!-- -->
679 </a>
680 <ul class="blockListLast">
681 <li class="blockList">
682 <h4>startsWith</h4>
683 <pre>protected static&nbsp;boolean&nbsp;startsWith(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;str,
684 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix)</pre>
685 </li>
686 </ul>
687 </li>
688 </ul>
689 </li>
690 </ul>
691 </div>
692 </div>
693 <!-- ========= END OF CLASS DATA ========= -->
694 <!-- ======= START OF BOTTOM NAVBAR ====== -->
695 <div class="bottomNav"><a name="navbar_bottom">
696 <!-- -->
697 </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
698 <!-- -->
699 </a>
700 <ul class="navList" title="Navigation">
701 <li><a href="../../../../overview-summary.html">Overview</a></li>
702 <li><a href="package-summary.html">Package</a></li>
703 <li class="navBarCell1Rev">Class</li>
704 <li><a href="class-use/SystemUtils.html">Use</a></li>
705 <li><a href="package-tree.html">Tree</a></li>
706 <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
707 <li><a href="../../../../index-all.html">Index</a></li>
708 <li><a href="../../../../help-doc.html">Help</a></li>
709 </ul>
710 </div>
711 <div class="subNav">
712 <ul class="navList">
713 <li><a href="../../../../com/jgoodies/common/base/Strings.html" title="class in com.jgoodies.common.base"><span class="strong">Prev Class</span></a></li>
714 <li>Next Class</li>
715 </ul>
716 <ul class="navList">
717 <li><a href="../../../../index.html?com/jgoodies/common/base/SystemUtils.html" target="_top">Frames</a></li>
718 <li><a href="SystemUtils.html" target="_top">No Frames</a></li>
719 </ul>
720 <ul class="navList" id="allclasses_navbar_bottom">
721 <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
722 </ul>
723 <div>
724 <script type="text/javascript"><!--
725 allClassesLink = document.getElementById("allclasses_navbar_bottom");
726 if(window==top) {
727 allClassesLink.style.display = "block";
728 }
729 else {
730 allClassesLink.style.display = "none";
731 }
732 //-->
733 </script>
734 </div>
735 <div>
736 <ul class="subNavList">
737 <li>Summary:&nbsp;</li>
738 <li>Nested&nbsp;|&nbsp;</li>
739 <li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
740 <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
741 <li><a href="#method_summary">Method</a></li>
742 </ul>
743 <ul class="subNavList">
744 <li>Detail:&nbsp;</li>
745 <li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
746 <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
747 <li><a href="#method_detail">Method</a></li>
748 </ul>
749 </div>
750 <a name="skip-navbar_bottom">
751 <!-- -->
752 </a></div>
753 <!-- ======== END OF BOTTOM NAVBAR ======= -->
754 <p class="legalCopy"><small>Copyright &#169; 2009-2014 JGoodies Software GmbH. All Rights Reserved.</small></p>
755 </body>
756 </html>