|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openoffice.ide.eclipse.core.builders.VisitableFile
public class VisitableFile
A little tiny interface to visit File objects. This has to be used to avoid multiple and annoying project refresh operations trigerring unwanted changes.
Constructor Summary | |
---|---|
VisitableFile(java.io.File pFile)
Create a new visitable file, ready to accept a visit. |
Method Summary | |
---|---|
void |
accept(IFileVisitor pVisitor)
Welcome a visitor and let him explore the file hierarchy as he needs to. |
boolean |
exists()
|
boolean |
isDirectory()
|
boolean |
isFile()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VisitableFile(java.io.File pFile)
pFile
- the file to visit later.Method Detail |
---|
public boolean exists()
public boolean isDirectory()
public boolean isFile()
public void accept(IFileVisitor pVisitor)
pVisitor
- the File visitor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |