|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface URIFilter
An instance of URIFilter
can be used to select certain URIs out of a set of URIs.
Method Summary | |
---|---|
boolean |
accept(java.net.URI uri) |
boolean |
equals(java.lang.Object o) A concrete URIFilter must provide an implementation for the equals() method that compares the URIFilter to another one. |
java.lang.String |
toString() The implementation of toString() must return a short description that can be shown to the user describing what the filter is filter for. |
Method Detail |
---|
boolean accept(java.net.URI uri)
uri
- The URI
that is being filtered.true
if this filter allows the specified URI
is allowed to be displayed or included. Returns false
otherwise.java.lang.NullPointerException
- if the specified URI
is null
.boolean equals(java.lang.Object o)
URIFilter
must provide an implementation for the equals()
method that compares the URIFilter
to another one. A return value of true
means that both this URIFilter
and the specified URIFilter
will accept identical sets of URI
s and that the descriptions used to identify the filters are equal.equals
in class java.lang.Object
java.lang.String toString()
toString()
must return a short description that can be shown to the user describing what the filter is filter for. For example: "JPG and GIF images".toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |