org.kie.commons.java.nio.file
Class SimpleFileVisitor<T>
java.lang.Object
org.kie.commons.java.nio.file.SimpleFileVisitor<T>
- All Implemented Interfaces:
- FileVisitor<T>
public class SimpleFileVisitor<T>
- extends Object
- implements FileVisitor<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFileVisitor
protected SimpleFileVisitor()
preVisitDirectory
public FileVisitResult preVisitDirectory(T dir,
BasicFileAttributes attrs)
throws IOException
- Specified by:
preVisitDirectory in interface FileVisitor<T>
- Throws:
IOException
visitFile
public FileVisitResult visitFile(T file,
BasicFileAttributes attrs)
throws IOException
- Specified by:
visitFile in interface FileVisitor<T>
- Throws:
IOException
visitFileFailed
public FileVisitResult visitFileFailed(T file,
IOException exc)
throws IOException
- Specified by:
visitFileFailed in interface FileVisitor<T>
- Throws:
IOException
postVisitDirectory
public FileVisitResult postVisitDirectory(T dir,
IOException exc)
throws IOException
- Specified by:
postVisitDirectory in interface FileVisitor<T>
- Throws:
IOException
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.