|
||||||||||
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(java.lang.String envpath)
Construct a PathFinder object using the path from the specified system environment variable. |
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PathFinder()
public PathFinder(java.lang.String envpath)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |