|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.File
visad.install.JavaFile
A File object for a java executable
which also extracts the JVM's version information.
| Field Summary |
| Fields inherited from class java.io.File |
pathSeparator, pathSeparatorChar, separator, separatorChar |
| Constructor Summary | |
JavaFile(File path)
|
|
JavaFile(File path,
String name)
|
|
JavaFile(String path)
|
|
JavaFile(String parent,
String child)
|
|
| Method Summary | |
int |
getMajor()
Get the major version number for this JVM. |
int |
getMinor()
Get the minor version number for this JVM. |
String |
getVersionString()
Get the version string returned by this JVM. |
boolean |
matchMinimum(int major,
int minor)
See if this JVM is at least as recent as the requested major/minor pair. For example, if a Java2 JVM is required, this routine would be called with major=1 and minor=2. |
| Methods inherited from class java.io.File |
canRead, canWrite, compareTo, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, exists, getAbsoluteFile, getAbsolutePath, getCanonicalFile, getCanonicalPath, getName, getParent, getParentFile, getPath, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setLastModified, setReadOnly, toString, toURI, toURL |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JavaFile(String path)
java.io.File(String)public JavaFile(File path)
java.io.File(File)
public JavaFile(String parent,
String child)
java.io.File(String, String)
public JavaFile(File path,
String name)
java.io.File(File, String)| Method Detail |
public String getVersionString()
public int getMajor()
public int getMinor()
public final boolean matchMinimum(int major,
int minor)
major - JVM major version numberminor - JVM minor version number
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||