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 booleanaccept(String userId)static SelectUserIdand(SelectUserId... strategies)static SelectUserIdbyEmail(CharSequence email)static SelectUserIdcontainsEmailAddress(CharSequence email)static SelectUserIdcontainsSubstring(CharSequence query)static SelectUserIdexactMatch(CharSequence query)StringfirstMatch(List<String> userIds)StringfirstMatch(org.bouncycastle.openpgp.PGPKeyRing keyRing)static SelectUserIdnot(SelectUserId strategy)static SelectUserIdor(SelectUserId... strategies)List<String>selectUserIds(List<String> userIds)List<String>selectUserIds(org.bouncycastle.openpgp.PGPKeyRing keyRing)static SelectUserIdstartsWith(CharSequence substring)static SelectUserIdvalidUserId(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)
 
 - 
 
 -