oracle.jdeveloper.library
Class JDK.JDKExeFilter
java.lang.Object
oracle.jdeveloper.library.JDK.JDKExeFilter
- All Implemented Interfaces:
- URLFilter
- Enclosing class:
- JDK
- public static class JDK.JDKExeFilter
- extends java.lang.Object
- implements URLFilter
Method Summary |
boolean |
accept(java.net.URL url)
|
boolean |
equals(java.lang.Object o)
A concrete URLFilter must provide an implementation
for the equals(...) method that compares the
URLFilter 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. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JDK.JDKExeFilter
public JDK.JDKExeFilter()
accept
public boolean accept(java.net.URL url)
- Specified by:
accept
in interface URLFilter
- Parameters:
url
- The URL
that is being filtered.
- Returns:
true
if this filter allows the specified
URL
is allowed to be displayed or included. Returns
false
otherwise.
equals
public boolean equals(java.lang.Object o)
- Description copied from interface:
URLFilter
- A concrete
URLFilter
must provide an implementation
for the equals(...)
method that compares the
URLFilter
to another one. A return value of
true
means that both this URLFilter
and
the specified URLFilter
will accept identical sets
of URL
s and that the descriptions used to identify the
filters are equal.
- Specified by:
equals
in interface URLFilter
toString
public java.lang.String toString()
- Description copied from interface:
URLFilter
- 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".
- Specified by:
toString
in interface URLFilter
Copyright ©1997, 2003, Oracle. All rights reserved.