|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
R - the type of the result of the visit operationP - the type of the additional valuepublic interface PathNameVisitor<R,P>
A visitor of PathName instances.
| Method Summary | |
|---|---|
R |
visitDirectory(Directory directory,
P p)
Visits a directory. |
R |
visitNotFound(ResolvedPath notFound,
P p)
Visits a nonexistent file. |
R |
visitRegularFile(RegularFile file,
P p)
Visits a regular file. |
| Method Detail |
|---|
R visitDirectory(Directory directory,
P p)
throws IOException
directory - the directory instancep - an additional value
IOException - if an I/O error occurs
R visitNotFound(ResolvedPath notFound,
P p)
throws IOException
notFound - the nonexistent filep - an additional value
IOException - if an I/O error occurs
R visitRegularFile(RegularFile file,
P p)
throws IOException
file - the regular filep - an additional value
IOException - if an I/O error occurs
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||