public class PathFinder extends Object
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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 © 2010 The Apache Software Foundation