litesoft
Diff Revisions
905
vs
906
for /trunk/Java/core/Server/src/org/litesoft/util/Utils.java
|
@@ -13,6 +13,16 @@ |
13 |
13 |
|
@SuppressWarnings({"UnusedDeclaration"}) |
14 |
14 |
|
public class Utils |
15 |
15 |
|
{ |
|
16 |
+ |
/** |
|
17 |
+ |
* True if running on a Mac OS. |
|
18 |
+ |
*/ |
|
19 |
+ |
public static final boolean isMac = System.getProperty( "os.name" ).toLowerCase().contains( "mac os x" ); |
|
20 |
+ |
|
|
21 |
+ |
/** |
|
22 |
+ |
* True if running on a Windows OS. |
|
23 |
+ |
*/ |
|
24 |
+ |
public static final boolean isWindows = System.getProperty( "os.name" ).toLowerCase().contains( "windows" ); |
|
25 |
+ |
|
16 |
26 |
|
public static void pause( int pMillisecs ) |
17 |
27 |
|
throws RuntimeInterruptedException |
18 |
28 |
|
{ |