|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface URLFilenameFilter
Instances of classes that implement this interface are used to filter
filenames when using the URLFileSystem#list(URLFilenameFilter)
method.
Unlike URLFilter
used with the URLFileSystem#list(URLFilter)
method, URLs
are not created prior to calling the
accept(URL,String)
method. This can have performance benefits,
because it avoids IO on files that are not accepted by the filter.
Method Summary | |
---|---|
boolean |
accept(java.net.URL url,
java.lang.String name)
Tests if a file name should be included in a file list. |
Method Detail |
---|
boolean accept(java.net.URL url, java.lang.String name)
url
- the URL of the directory in which the file was found.name
- the name of the file.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |