|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
PathExplorer interface defines methods to create object able to manage a list of paths and furnish input and output stream on files
| Method Summary | |
void |
addPath(java.util.Collection path)
creates the paths with the given path |
void |
addPath(java.lang.String cpath)
adds a classpath and its path separator to the current explorer. |
java.lang.String |
getClassPath()
|
java.io.InputStream |
getInputStream(java.lang.String file)
gets an input stream from a given file. |
java.io.OutputStream |
getOutputStream(java.lang.String file)
gets an output stream from a given file. |
| Method Detail |
public void addPath(java.lang.String cpath)
cpath - the classpath which contains a list of pathspublic void addPath(java.util.Collection path)
path - the vector of paths (which are String).public java.io.InputStream getInputStream(java.lang.String file)
file - the string representation of the name of the file
public java.io.OutputStream getOutputStream(java.lang.String file)
file - the string representation of the name of the file
public java.lang.String getClassPath()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||