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 boolean
accept(java.lang.String userId)
static SelectUserId
and(SelectUserId... strategies)
static SelectUserId
containsEmailAddress(java.lang.String email)
static SelectUserId
containsSubstring(java.lang.String query)
static SelectUserId
exactMatch(java.lang.String query)
java.lang.String
firstMatch(java.util.List<java.lang.String> userIds)
java.lang.String
firstMatch(org.bouncycastle.openpgp.PGPKeyRing keyRing)
static SelectUserId
not(SelectUserId strategy)
static SelectUserId
or(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 SelectUserId
startsWith(java.lang.String substring)
static SelectUserId
validUserId(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)
-
-