Skip navigation links
C D E G I O P R V 

C

cleanupPersonalString(String, EnumSet<EmailAddressCriteria>) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
Given a string, if the string is a quoted string (without CFWS around it, although it will be trimmed) then remove the bounding quotations and then unescape it.

D

DEFAULT - Static variable in enum org.hazlewood.connor.bottema.emailaddress.EmailAddressCriteria
The default setting is not strictly 2822 compliant.

E

EmailAddressCriteria - Enum in org.hazlewood.connor.bottema.emailaddress
Defines a set of restriction flags for email address validation.
EmailAddressParser - Class in org.hazlewood.connor.bottema.emailaddress
A utility class to parse, clean up, and extract email addresses from messages per RFC2822 syntax.
EmailAddressValidator - Class in org.hazlewood.connor.bottema.emailaddress
A utility class to parse, clean up, and extract email addresses from messages per RFC2822 syntax.
extractHeaderAddresses(String, EnumSet<EmailAddressCriteria>, boolean) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
Given the value of a header, like the From:, extract valid 2822 addresses from it and place them in an array.

G

getAddressParts(String, EnumSet<EmailAddressCriteria>, boolean) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
See getInternetAddress; does the same thing but returns the constituent parts of the address in a three-element array (or null if the address is invalid).
getDomain(String, EnumSet<EmailAddressCriteria>, boolean) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
See getInternetAddress; does the same thing but returns the domain part in string form (essentially, the part to the right of the @).
getFirstComment(String, EnumSet<EmailAddressCriteria>) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
Given a string, extract the first matched comment token as defined in 2822, trimmed; return null on all errors or non-findings

This is probably not super-useful.

getInternetAddress(String, EnumSet<EmailAddressCriteria>, boolean) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
Given a 2822-valid single address string, give us an InternetAddress object holding that address, otherwise returns null.
getLocalPart(String, EnumSet<EmailAddressCriteria>, boolean) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
See getInternetAddress; does the same thing but returns the local part that would have been returned from getInternetAddress() in String form (essentially, the part to the left of the @).
getMatcherParts(Matcher, EnumSet<EmailAddressCriteria>, boolean) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
getPersonalName(String, EnumSet<EmailAddressCriteria>, boolean) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
See getInternetAddress; does the same thing but returns the personal name that would have been returned from getInternetAddress() in String form.
getReturnPathAddress(String, EnumSet<EmailAddressCriteria>, boolean) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
Pull out the cleaned-up return path address.
getReturnPathBracketContents(String, EnumSet<EmailAddressCriteria>) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
WARNING: You may want to use getReturnPathAddress() instead if you're looking for a clean version of the return path without CFWS, etc.

I

isValid(String) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressValidator
Validates an e-mail with default validation flags.
isValid(String, EnumSet<EmailAddressCriteria>) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressValidator
Using the given validation criteria, checks to see if the specified string is a valid email address according to the RFC 2822 specification, which is remarkably squirrely.
isValidAddressList(String, EnumSet<EmailAddressCriteria>) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
Tells us if a header line is valid, i.e.
isValidMailboxList(String, EnumSet<EmailAddressCriteria>) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
Tells us if a header line is valid, i.e.
isValidReturnPath(String, EnumSet<EmailAddressCriteria>) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
Tells us if the email represents a valid return path header string.
isValidStrict(String) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressValidator
Validates an e-mail with default validation flags that remains true to RFC 2822.

O

org.hazlewood.connor.bottema.emailaddress - package org.hazlewood.connor.bottema.emailaddress
 

P

pullFromGroups(Matcher, EnumSet<EmailAddressCriteria>, boolean) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
Using knowledge of the group-ID numbers (see comments at top) pull the data relevant to us from an already-successfully-matched matcher.

R

removeAnyBounding(char, char, String) - Static method in class org.hazlewood.connor.bottema.emailaddress.EmailAddressParser
If the string starts and ends with s and e, remove them, otherwise return the string as it was passed in.
RFC_COMPLIANT - Static variable in enum org.hazlewood.connor.bottema.emailaddress.EmailAddressCriteria
Criteria which is most RFC 2822 compliant and allows all compliant address forms, including the more exotic ones.

V

valueOf(String) - Static method in enum org.hazlewood.connor.bottema.emailaddress.EmailAddressCriteria
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.hazlewood.connor.bottema.emailaddress.EmailAddressCriteria
Returns an array containing the constants of this enum type, in the order they are declared.
C D E G I O P R V 
Skip navigation links

Copyright © 2016–2019. All rights reserved.