KIE NIO.2 :: API 6.0.0.Beta3

org.kie.commons.java.nio.file
Class SimpleFileVisitor<T>

java.lang.Object
  extended by org.kie.commons.java.nio.file.SimpleFileVisitor<T>
All Implemented Interfaces:
FileVisitor<T>

public class SimpleFileVisitor<T>
extends Object
implements FileVisitor<T>


Constructor Summary
protected SimpleFileVisitor()
           
 
Method Summary
 FileVisitResult postVisitDirectory(T dir, IOException exc)
           
 FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs)
           
 FileVisitResult visitFile(T file, BasicFileAttributes attrs)
           
 FileVisitResult visitFileFailed(T file, IOException exc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleFileVisitor

protected SimpleFileVisitor()
Method Detail

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

KIE NIO.2 :: API 6.0.0.Beta3

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.