public class PathFinder extends Object
构造器和说明 |
---|
PathFinder()
Construct a PathFinder object using the path from
java.class.path
|
PathFinder(String envpath)
Construct a PathFinder object using the path from
the specified system environment variable.
|
限定符和类型 | 方法和说明 |
---|---|
File |
getAbsolutePath(String filename)
Returns the full path name of this file if it is listed in the
path
|
static void |
main(String[] args) |
void |
prependPathComponent(String str)
Appends the specified component to the path list
|
public PathFinder()
public PathFinder(String envpath)
public void prependPathComponent(String str)
public File getAbsolutePath(String filename)
public static void main(String[] args) throws IOException
IOException
Copyright © 2009 The Apache Software Foundation