Class PathEqualsFileFilter

    • Constructor Detail

      • PathEqualsFileFilter

        public PathEqualsFileFilter(Path file)
        Constructs a new instance for the given Path.
        file - The file to match.
    • Method Detail

      • accept

        public FileVisitResult accept(Path path,
                                      BasicFileAttributes attributes)
        Description copied from interface: IOFileFilter
        Checks to see if the Path should be accepted by this filter.
        path - the Path to check.
        attributes - the file's basic attributes (TODO may be null).
        true if this path matches the test.

Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.