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