public class PathFinder
extends java.lang.Object
Constructor and Description |
---|
PathFinder()
Construct a PathFinder object using the path from
java.class.path
|
PathFinder(java.lang.String envpath)
Construct a PathFinder object using the path from
the specified system environment variable.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getAbsolutePath(java.lang.String filename)
Returns the full path name of this file if it is listed in the
path
|
static void |
main(java.lang.String[] args) |
void |
prependPathComponent(java.lang.String str)
Appends the specified component to the path list
|
public PathFinder()
public PathFinder(java.lang.String envpath)
public void prependPathComponent(java.lang.String str)
public java.io.File getAbsolutePath(java.lang.String filename)
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
Copyright © 2009 The Apache Software Foundation