public class VisitableFile
extends java.lang.Object
| Constructor and Description |
|---|
VisitableFile(java.io.File pFile)
Create a new visitable file, ready to accept a visit.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(IFileVisitor pVisitor)
Welcome a visitor and let him explore the file hierarchy as he needs to.
|
boolean |
exists() |
boolean |
isDirectory() |
boolean |
isFile() |
public VisitableFile(java.io.File pFile)
pFile - the file to visit later.public boolean exists()
public boolean isDirectory()
public boolean isFile()
public void accept(IFileVisitor pVisitor)
pVisitor - the File visitor