Interface FileTreeView

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.util.List<TypedPath> list​(java.nio.file.Path path, int maxDepth, Filter<? super TypedPath> filter)
      List all of the files for the path, returning only those files that are accepted by the provided filter.
      • Methods inherited from interface java.lang.AutoCloseable

        close
    • Method Detail

      • list

        java.util.List<TypedPath> list​(java.nio.file.Path path,
                                       int maxDepth,
                                       Filter<? super TypedPath> filter)
                                throws java.io.IOException
        List all of the files for the path, returning only those files that are accepted by the provided filter.
        Parameters:
        path - the root path to list
        maxDepth - the maximum depth of subdirectories to query
        filter - include only paths accepted by the filter
        Returns:
        a List of Path instances accepted by the filter.
        Throws:
        java.io.IOException - if the path cannot be listed.