|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.antcontrib.cpptasks.MockFileCollector
public final class MockFileCollector
Implementation of FileVisitor that collects visited files for later retrieval.
| Constructor Summary | |
|---|---|
MockFileCollector()
Constructor. |
|
| Method Summary | |
|---|---|
java.io.File |
getBaseDir(int index)
Get value of baseDir parameter for the specified index. |
java.lang.String |
getFileName(int index)
Get value of fileName parameter for a specified index. |
int |
size()
Get count of calls to FileVisitor.visit. |
void |
visit(java.io.File baseDir,
java.lang.String fileName)
Implementation of FileVisitor.visit. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MockFileCollector()
| Method Detail |
|---|
public void visit(java.io.File baseDir,
java.lang.String fileName)
visit in interface net.sf.antcontrib.cpptasks.FileVisitorbaseDir - base directoryfileName - file namepublic java.lang.String getFileName(int index)
index - index
public java.io.File getBaseDir(int index)
index - index
public int size()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||