Class SelectUserId
- java.lang.Object
-
- org.pgpainless.util.selection.userid.SelectUserId
-
public abstract class SelectUserId extends java.lang.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 booleanaccept(java.lang.String userId)static SelectUserIdand(SelectUserId... strategies)static SelectUserIdbyEmail(java.lang.CharSequence email)static SelectUserIdcontainsEmailAddress(java.lang.CharSequence email)static SelectUserIdcontainsSubstring(java.lang.CharSequence query)static SelectUserIdexactMatch(java.lang.CharSequence query)java.lang.StringfirstMatch(java.util.List<java.lang.String> userIds)java.lang.StringfirstMatch(org.bouncycastle.openpgp.PGPKeyRing keyRing)static SelectUserIdnot(SelectUserId strategy)static SelectUserIdor(SelectUserId... strategies)java.util.List<java.lang.String>selectUserIds(java.util.List<java.lang.String> userIds)java.util.List<java.lang.String>selectUserIds(org.bouncycastle.openpgp.PGPKeyRing keyRing)static SelectUserIdstartsWith(java.lang.CharSequence substring)static SelectUserIdvalidUserId(org.bouncycastle.openpgp.PGPKeyRing keyRing)
-
-
-
Method Detail
-
accept
protected abstract boolean accept(java.lang.String userId)
-
selectUserIds
public java.util.List<java.lang.String> selectUserIds(org.bouncycastle.openpgp.PGPKeyRing keyRing)
-
selectUserIds
public java.util.List<java.lang.String> selectUserIds(java.util.List<java.lang.String> userIds)
-
firstMatch
public java.lang.String firstMatch(org.bouncycastle.openpgp.PGPKeyRing keyRing)
-
firstMatch
public java.lang.String firstMatch(java.util.List<java.lang.String> userIds)
-
containsSubstring
public static SelectUserId containsSubstring(@Nonnull java.lang.CharSequence query)
-
exactMatch
public static SelectUserId exactMatch(@Nonnull java.lang.CharSequence query)
-
startsWith
public static SelectUserId startsWith(@Nonnull java.lang.CharSequence substring)
-
containsEmailAddress
public static SelectUserId containsEmailAddress(@Nonnull java.lang.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(java.lang.CharSequence email)
-
-