IT. Expert System.

Java Standard Edition (SE)

DirectoryStream.Filter


compact1, compact2, compact3
java.nio.file

Interface DirectoryStream.Filter<T>

  • Type Parameters:
    T - the type of the directory entry
    Enclosing interface:
    DirectoryStream<T>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public static interface DirectoryStream.Filter<T>
    An interface that is implemented by objects that decide if a directory entry should be accepted or filtered. A Filter is passed as the parameter to the Files.newDirectoryStream(Path,DirectoryStream.Filter) method when opening a directory to iterate over the entries in the directory.
    Since:
    1.7
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      boolean accept(T entry)
      Decides if the given directory entry should be accepted or filtered.
    • Method Detail

      • accept

        boolean accept(T entry)
                throws IOException
        Decides if the given directory entry should be accepted or filtered.
        Parameters:
        entry - the directory entry to be tested
        Returns:
        true if the directory entry should be accepted
        Throws:
        IOException - If an I/O error occurs


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 425 / 158856339. Delta: 0.04967 с