public final class PackagePatternImpl extends Object implements PackagePattern
| Constructor and Description |
|---|
PackagePatternImpl(String s) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
matches(PackagePattern packagePattern)
Tests whether the given package pattern is matched by this package pattern
instance.
|
boolean |
matches(String packageName)
Tests whether the given package name is matched by this package pattern instance.
|
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitparse, parseAllpublic PackagePatternImpl(String s)
public boolean matches(PackagePattern packagePattern)
PackagePatternmatches in interface PackagePatternpackagePattern - The package pattern to match against this pattern.public boolean matches(String packageName)
PackagePatternmatches in interface PackagePatternpackageName - The package name to match against this pattern.Copyright © 2014–2018. All rights reserved.