|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sf.jlaunchpad.util.CommonUtil
public class CommonUtil
This is the class for holding common utilities.
| Constructor Summary | |
|---|---|
CommonUtil()
|
|
| Method Summary | |
|---|---|
java.lang.String |
calculateJavaSpecificationVersion(int majorVersion)
1.1: 00 2D (= 45) 1.2: 00 2E (= 46) 1.3: 00 2F (= 47) 1.4: 00 30 (= 48) 1.5: 00 31 (= 49) 1.6: 00 32 (= 50) |
static java.io.File |
getCompilerJar()
Gets the compiler jar file. |
static java.lang.String |
getJavaSpecificationVersion()
Sets up the java specification version. |
static boolean |
isGuiMode()
Checks if the Java is working in AWT or Swing mode. |
static void |
printThreads()
Prints threads list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonUtil()
| Method Detail |
|---|
public static boolean isGuiMode()
public static void printThreads()
public static java.io.File getCompilerJar()
public static java.lang.String getJavaSpecificationVersion()
throws java.io.IOException
java.io.IOException - I/O Exceptionpublic java.lang.String calculateJavaSpecificationVersion(int majorVersion)
majorVersion - the major version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||