|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.cargo.container.internal.util.JdkUtils
public class JdkUtils
Set of common JDK utility methods.
Constructor Summary | |
---|---|
JdkUtils()
|
Method Summary | |
---|---|
File |
getToolsJar()
Returns the file containing the JDK tools (such as the compiler). |
boolean |
isOSX()
Is the user running on a Macintosh OS X system? Heuristic derived from Apple Tech Note 2042. |
void |
sleep(long ms)
Pauses the current thread for the specified amount. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JdkUtils()
Method Detail |
---|
public final File getToolsJar() throws FileNotFoundException
FileNotFoundException
- If the tools.jar file could not be foundpublic final boolean isOSX()
public void sleep(long ms)
ms
- The time to sleep in milliseconds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |