public interface PackagePattern
| Modifier and Type | Method and Description |
|---|---|
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.
|
static PackagePattern |
parse(String s)
Parses the given String into a
PackagePattern. |
static List<PackagePattern> |
parseAll(Collection<String> strings)
Parses each string of the given collection into a
PackagePattern and
returns them in a list. |
static List<PackagePattern> parseAll(Collection<String> strings)
PackagePattern and
returns them in a list.strings - The Strings to parse.static PackagePattern parse(String s)
PackagePattern.s - The String to parse.boolean matches(String packageName)
packageName - The package name to match against this pattern.boolean matches(PackagePattern packagePattern)
packagePattern - The package pattern to match against this pattern.Copyright © 2014–2018. All rights reserved.