Class SelectUserId
- java.lang.Object
-
- org.pgpainless.util.selection.userid.SelectUserId
-
public abstract class SelectUserId extends Object
-
-
Constructor Summary
Constructors Constructor Description SelectUserId()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract boolean
accept(String userId)
static SelectUserId
and(SelectUserId... strategies)
static SelectUserId
byEmail(CharSequence email)
static SelectUserId
containsEmailAddress(CharSequence email)
static SelectUserId
containsSubstring(CharSequence query)
static SelectUserId
exactMatch(CharSequence query)
String
firstMatch(List<String> userIds)
String
firstMatch(org.bouncycastle.openpgp.PGPKeyRing keyRing)
static SelectUserId
not(SelectUserId strategy)
static SelectUserId
or(SelectUserId... strategies)
List<String>
selectUserIds(List<String> userIds)
List<String>
selectUserIds(org.bouncycastle.openpgp.PGPKeyRing keyRing)
static SelectUserId
startsWith(CharSequence substring)
static SelectUserId
validUserId(org.bouncycastle.openpgp.PGPKeyRing keyRing)
-
-
-
Constructor Detail
-
SelectUserId
public SelectUserId()
-
-
Method Detail
-
selectUserIds
public List<String> selectUserIds(org.bouncycastle.openpgp.PGPKeyRing keyRing)
-
selectUserIds
public List<String> selectUserIds(List<String> userIds)
-
firstMatch
public String firstMatch(org.bouncycastle.openpgp.PGPKeyRing keyRing)
-
firstMatch
public String firstMatch(List<String> userIds)
-
containsSubstring
public static SelectUserId containsSubstring(@Nonnull CharSequence query)
-
exactMatch
public static SelectUserId exactMatch(@Nonnull CharSequence query)
-
startsWith
public static SelectUserId startsWith(@Nonnull CharSequence substring)
-
containsEmailAddress
public static SelectUserId containsEmailAddress(@Nonnull CharSequence email)
-
validUserId
public static SelectUserId validUserId(org.bouncycastle.openpgp.PGPKeyRing keyRing)
-
and
public static SelectUserId and(SelectUserId... strategies)
-
or
public static SelectUserId or(SelectUserId... strategies)
-
not
public static SelectUserId not(SelectUserId strategy)
-
byEmail
public static SelectUserId byEmail(CharSequence email)
-
-