Package org.spongepowered.api.util.file
Class ForwardingFileVisitor<T>
- java.lang.Object
-
- org.spongepowered.api.util.file.ForwardingFileVisitor<T>
-
- All Implemented Interfaces:
FileVisitor<T>
public abstract class ForwardingFileVisitor<T> extends Object implements FileVisitor<T>
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ForwardingFileVisitor(FileVisitor<T> visitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FileVisitResult
postVisitDirectory(T dir, IOException exc)
FileVisitResult
preVisitDirectory(T dir, BasicFileAttributes attrs)
FileVisitResult
visitFile(T file, BasicFileAttributes attrs)
FileVisitResult
visitFileFailed(T file, IOException exc)
-
-
-
Constructor Detail
-
ForwardingFileVisitor
protected ForwardingFileVisitor(FileVisitor<T> visitor)
-
-
Method Detail
-
preVisitDirectory
public FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) throws IOException
- Specified by:
preVisitDirectory
in interfaceFileVisitor<T>
- Throws:
IOException
-
visitFile
public FileVisitResult visitFile(T file, BasicFileAttributes attrs) throws IOException
- Specified by:
visitFile
in interfaceFileVisitor<T>
- Throws:
IOException
-
visitFileFailed
public FileVisitResult visitFileFailed(T file, IOException exc) throws IOException
- Specified by:
visitFileFailed
in interfaceFileVisitor<T>
- Throws:
IOException
-
postVisitDirectory
public FileVisitResult postVisitDirectory(T dir, IOException exc) throws IOException
- Specified by:
postVisitDirectory
in interfaceFileVisitor<T>
- Throws:
IOException
-
-