public final class FileStringFilterAdapter extends Object implements FileFilter
FileFilter
interface by simply delegating to a
Filter
<String
>
. It will get the path and filename
of the file to check
and normalizes all separators
to
'/'
. The resulting string is passed to the adapted Filter
.FileFilterAdapter
Constructor and Description |
---|
FileStringFilterAdapter(Filter<String> filter)
The constructor.
|
private final Filter<String> filter
accept(File)
public boolean accept(File file)
accept
in interface FileFilter
Copyright © 2001–2014 mmm-Team. All rights reserved.