|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.streaming.PathFinder
public class PathFinder
Maps a relative pathname to an absolute pathname using the PATH enviroment.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PathFinder()
public PathFinder(String envpath)
| Method Detail |
|---|
public void prependPathComponent(String str)
public File getAbsolutePath(String filename)
public static void main(String[] args)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||