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 SelectUserIdcontainsEmailAddress(java.lang.String email)static SelectUserIdcontainsSubstring(java.lang.String query)static SelectUserIdexactMatch(java.lang.String 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.String 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(java.lang.String query)
-
exactMatch
public static SelectUserId exactMatch(java.lang.String query)
-
startsWith
public static SelectUserId startsWith(java.lang.String substring)
-
containsEmailAddress
public static SelectUserId containsEmailAddress(java.lang.String 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)
-
-