@Private
public class PathFinder
extends java.lang.Object
| Constructor | 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 | 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.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.