public interface URIFilter
URIFilter can be used to select
certain URIs out of a set of URIs.| Modifier and Type | Method and Description |
|---|---|
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. |
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 URIs and that the descriptions used to identify the
filters are equal.equals in class java.lang.Objectjava.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