br.com.objectos.fs
R - the type of the result of the visit operationP - the type of the additional valuepublic interface PathNameVisitor<R,P>
PathName instances.| Modifier and Type | Method and Description |
|---|---|
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.
|
R visitDirectory(Directory directory, P p) throws IOException
directory - the directory instancep - an additional valueIOException - if an I/O error occursR visitNotFound(ResolvedPath notFound, P p) throws IOException
notFound - the nonexistent filep - an additional valueIOException - if an I/O error occursR visitRegularFile(RegularFile file, P p) throws IOException
file - the regular filep - an additional valueIOException - if an I/O error occursCopyright © 2021–2022 Objectos Software LTDA. All rights reserved.