Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

javax.ide.net
Interface URIFilter


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

accept

boolean accept(java.net.URI uri)
Parameters:
uri - The URI that is being filtered.
Returns:
true if this filter allows the specified URI is allowed to be displayed or included. Returns false otherwise.
Throws:
java.lang.NullPointerException - if the specified URI is null.

equals

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 URIs and that the descriptions used to identify the filters are equal.

Overrides:
equals in class java.lang.Object

toString

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".

Overrides:
toString in class java.lang.Object

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

Copyright © 1997, 2009, Oracle. All rights reserved.