- 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. |
accept
public boolean accept(java.net.URI uri)
equals
public boolean equals(java.lang.Object o)
- A concrete
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 java.net.URIs and that the descriptions used to identify the
filters are equal.
toString
public 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. For example: "JPG and GIF images".