Class

com.malliina.file.FileVisitors

FilteringFileVisitor

Related Doc: package FileVisitors

Permalink

class FilteringFileVisitor extends FileCollectingVisitor with Log

File visitor that adds visited regular files to a buffer; comes with an optional filter that subclasses can implement; by default all files are included.

Linear Supertypes
Log, FileCollectingVisitor, SimpleFileVisitor[Path], FileVisitor[Path], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FilteringFileVisitor
  2. Log
  3. FileCollectingVisitor
  4. SimpleFileVisitor
  5. FileVisitor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FilteringFileVisitor()

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(path: Path): Unit

    Permalink
    Definition Classes
    FileCollectingVisitor
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def files: List[Path]

    Permalink

    returns

    the files that have been visited and passed any filters

    Definition Classes
    FileCollectingVisitor
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val log: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    Log
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def postVisitDirectory(arg0: Path, arg1: IOException): FileVisitResult

    Permalink
    Definition Classes
    SimpleFileVisitor → FileVisitor
    Annotations
    @throws( classOf[java.io.IOException] )
  19. def preVisitDirectory(arg0: Path, arg1: BasicFileAttributes): FileVisitResult

    Permalink
    Definition Classes
    SimpleFileVisitor → FileVisitor
    Annotations
    @throws( classOf[java.io.IOException] )
  20. def qualifies(file: Path, attrs: BasicFileAttributes): Boolean

    Permalink

    Override to filter files as you wish.

    Override to filter files as you wish. Qualified files can be queried using the files member.

    file

    the file

    attrs

    the file's attributes

    returns

    true if the file qualifies, false otherwise

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. def visitFile(file: Path, attrs: BasicFileAttributes): FileVisitResult

    Permalink
    Definition Classes
    FilteringFileVisitor → SimpleFileVisitor → FileVisitor
  24. def visitFileFailed(arg0: Path, arg1: IOException): FileVisitResult

    Permalink
    Definition Classes
    SimpleFileVisitor → FileVisitor
    Annotations
    @throws( classOf[java.io.IOException] )
  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Log

Inherited from FileCollectingVisitor

Inherited from SimpleFileVisitor[Path]

Inherited from FileVisitor[Path]

Inherited from AnyRef

Inherited from Any

Ungrouped