public class SyncCopySpecVisitor extends DelegatingCopySpecVisitor
| Constructor and Description |
|---|
SyncCopySpecVisitor(CopySpecVisitor visitor) |
| 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.
|
getVisitor, visitSpecpublic SyncCopySpecVisitor(CopySpecVisitor visitor)
public void startVisit(CopyAction action)
CopySpecVisitorstartVisit in interface CopySpecVisitorstartVisit in class DelegatingCopySpecVisitorpublic void visitDir(FileVisitDetails dirDetails)
FileVisitorvisitDir in interface FileVisitorvisitDir in class DelegatingCopySpecVisitordirDetails - Meta-info about the directory.public void visitFile(FileVisitDetails fileDetails)
FileVisitorvisitFile in interface FileVisitorvisitFile in class DelegatingCopySpecVisitorfileDetails - Meta-info about the file.public void endVisit()
CopySpecVisitorendVisit in interface CopySpecVisitorendVisit in class DelegatingCopySpecVisitorpublic boolean getDidWork()
getDidWork in interface WorkResultgetDidWork in class DelegatingCopySpecVisitorCopyright © 2013. All rights reserved