public class JdkUtils extends Object
Constructor and Description |
---|
JdkUtils() |
Modifier and Type | Method and Description |
---|---|
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.
|
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 millisecondsCopyright © 2004-2013 Codehaus. All Rights Reserved.