|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DirectoryStream.Filter | |
---|---|
org.classpath.icedtea.java.nio.file | Define interfaces and classes for the Java virtual machine to access files, file attributes, and file systems. |
Uses of DirectoryStream.Filter in org.classpath.icedtea.java.nio.file |
---|
Methods in org.classpath.icedtea.java.nio.file that return DirectoryStream.Filter | ||
---|---|---|
static
|
DirectoryStreamFilters.allOf(java.lang.Iterable<? extends DirectoryStream.Filter<? super T>> filters)
Returns a directory stream filter that accepts a directory entry if the entry is accepted by all of the given
filters. |
|
static
|
DirectoryStreamFilters.anyOf(java.lang.Iterable<? extends DirectoryStream.Filter<? super T>> filters)
Returns a directory stream filter that accepts a directory entry if the entry is accepted by one or more of
the given filters. |
|
static
|
DirectoryStreamFilters.complementOf(DirectoryStream.Filter<T> filter)
Returns a directory stream filter that is the complement of the given filter. |
|
static
|
DirectoryStreamFilters.newContentTypeFilter(java.lang.String type)
Constructs a directory stream filter that filters directory entries by their MIME content type. |
Methods in org.classpath.icedtea.java.nio.file with parameters of type DirectoryStream.Filter | ||
---|---|---|
static
|
DirectoryStreamFilters.complementOf(DirectoryStream.Filter<T> filter)
Returns a directory stream filter that is the complement of the given filter. |
|
abstract DirectoryStream<Path> |
Path.newDirectoryStream(DirectoryStream.Filter<? super Path> filter)
Opens the directory referenced by this object, returning a DirectoryStream to iterate over the entries in the directory. |
|
abstract SecureDirectoryStream |
SecureDirectoryStream.newDirectoryStream(Path path,
boolean followLinks,
DirectoryStream.Filter<? super Path> filter)
Opens the directory identified by the given path, returning a SecureDirectoryStream to iterate over the entries in the directory. |
|
static void |
Files.withDirectory(Path dir,
DirectoryStream.Filter<? super Path> filter,
FileAction<? super Path> action)
Invokes a FileAction for each entry in a directory accepted
by a given filter . |
Method parameters in org.classpath.icedtea.java.nio.file with type arguments of type DirectoryStream.Filter | ||
---|---|---|
static
|
DirectoryStreamFilters.allOf(java.lang.Iterable<? extends DirectoryStream.Filter<? super T>> filters)
Returns a directory stream filter that accepts a directory entry if the entry is accepted by all of the given
filters. |
|
static
|
DirectoryStreamFilters.anyOf(java.lang.Iterable<? extends DirectoryStream.Filter<? super T>> filters)
Returns a directory stream filter that accepts a directory entry if the entry is accepted by one or more of
the given filters. |
|
NIO2 API | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.