public class EmptyCopySpecVisitor extends Object implements CopySpecVisitor
| Constructor and Description |
|---|
EmptyCopySpecVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
endVisit()
Called at the end of the visit.
|
boolean |
getDidWork() |
void |
startVisit(CopyAction action)
Called at the start of the visit.
|
void |
visitDir(FileVisitDetails dirDetails)
Visits a directory.
|
void |
visitFile(FileVisitDetails fileDetails)
Visits a file.
|
void |
visitSpec(ReadableCopySpec spec)
Visits a spec.
|
public boolean getDidWork()
getDidWork in interface WorkResultpublic void startVisit(CopyAction action)
CopySpecVisitorstartVisit in interface CopySpecVisitorpublic void visitDir(FileVisitDetails dirDetails)
FileVisitorvisitDir in interface FileVisitordirDetails - Meta-info about the directory.public void endVisit()
CopySpecVisitorendVisit in interface CopySpecVisitorpublic void visitFile(FileVisitDetails fileDetails)
FileVisitorvisitFile in interface FileVisitorfileDetails - Meta-info about the file.public void visitSpec(ReadableCopySpec spec)
CopySpecVisitorvisitSpec in interface CopySpecVisitorCopyright © 2013. All rights reserved