| Constructor and Description |
|---|
VCSURLPatternFilters(java.util.Collection<java.lang.String> patterns) |
| Modifier and Type | Method and Description |
|---|---|
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. |
public VCSURLPatternFilters(java.util.Collection<java.lang.String> patterns)
public boolean accept(java.net.URL url)
public boolean equals(java.lang.Object o)
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 URLs and that the descriptions used to identify the filters are equal.public 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".