Index

A B C F I J L M O P S T U V 
All Classes and Interfaces|All Packages

A

accept() - Method in class org.evolvis.tartools.rfc822.IPAddress
Advances the current position to the next character.
AddrSpec() - Constructor for class org.evolvis.tartools.rfc822.Path.AddrSpec
 
asAddressList() - Method in class org.evolvis.tartools.rfc822.Path
Parses the address as address-list, such as for the Reply-To, To, Cc, (optionally) Bcc, Resent-To, … headers.
asAddressList() - Method in class org.evolvis.tartools.rfc822.UXAddress
 
asAddrSpec() - Method in class org.evolvis.tartools.rfc822.Path
Parses the address as addr-spec (unlabelled address).
asDomain(String) - Static method in class org.evolvis.tartools.rfc822.FQDN
Checks if a supposed hostname is a valid Fully-Qualified Domain Name and retrieves a more canonical form.
asIPv4Address() - Method in class org.evolvis.tartools.rfc822.IPAddress
Parses the given address as Legacy IP address (IPv4).
asIPv6Address() - Method in class org.evolvis.tartools.rfc822.IPAddress
Parses the given address as IP address (IPv6), excluding Zone ID (scope).
asMailboxList() - Method in class org.evolvis.tartools.rfc822.Path
Parses the address as mailbox-list, such as for the From and Resent-From headers.

B

bra(int) - Method in class org.evolvis.tartools.rfc822.IPAddress
Jumps to a specified input character position, relative jump.

C

CLI - Class in org.evolvis.tartools.rfc822
Utility to parse and validate strings from the command line.
CLI() - Constructor for class org.evolvis.tartools.rfc822.CLI
 
ContextlessMatcher - Interface in org.evolvis.tartools.rfc822
Context-less matcher callback for Parser.skip(ContextlessMatcher).
cur() - Method in class org.evolvis.tartools.rfc822.IPAddress
Returns the wide character at the current position.

F

flattenAddresses() - Method in class org.evolvis.tartools.rfc822.Path.AddressList
Flattens the constituents into a list of their formatted representations.
flattenAddrSpecs() - Method in class org.evolvis.tartools.rfc822.Path.AddressList
Flattens the constituents into their individual addr-spec members, for use by e.g.
forSender(boolean) - Method in class org.evolvis.tartools.rfc822.Path
Parses the address for the Sender and Resent-Sender headers.
FQDN - Class in org.evolvis.tartools.rfc822
Represents an FQDN (“domain” production) for use in eMail.
FQDN(String) - Constructor for class org.evolvis.tartools.rfc822.FQDN
Private constructor.
from(String) - Static method in class org.evolvis.tartools.rfc822.IPAddress
Parses the passed string as IP address (IPv6 or Legacy IPv4), IPv6 “scope” (Zone ID) excluded.

I

invalidsToString() - Method in class org.evolvis.tartools.rfc822.Path.AddressList
Returns all invalid constituents as ", "-separated string, for error message construction.
IPAddress - Class in org.evolvis.tartools.rfc822
Represents an IP address (including Legacy IP) for use in eMail on the public Internet (no scoped addresses / IPv6 Zone ID).
IPAddress(String) - Constructor for class org.evolvis.tartools.rfc822.IPAddress
Private constructor.
is(int, byte) - Static method in class org.evolvis.tartools.rfc822.Path
 
isAtext(int) - Static method in class org.evolvis.tartools.rfc822.Path
 
isCtext(int) - Static method in class org.evolvis.tartools.rfc822.Path
 
isDomain() - Method in class org.evolvis.tartools.rfc822.FQDN
Checks if a supposed hostname is a valid Fully-Qualified Domain Name.
isDomain(String) - Static method in class org.evolvis.tartools.rfc822.FQDN
Checks if a supposed hostname is a valid Fully-Qualified Domain Name.
isDtext(int) - Static method in class org.evolvis.tartools.rfc822.Path
 
isMailboxListSeparator() - Method in class org.evolvis.tartools.rfc822.Path
 
isMailboxListSeparator() - Method in class org.evolvis.tartools.rfc822.UXAddress
 
isQtext(int) - Static method in class org.evolvis.tartools.rfc822.Path
 
isValid() - Method in interface org.evolvis.tartools.rfc822.Path.ParserResult
Whether this parser result is actually valid or merely parses but fails further validations (length limits, semantics, etc).

J

jmp(int) - Method in class org.evolvis.tartools.rfc822.IPAddress
Jumps to a specified input character position, absolute jump.

L

LookaheadMatcher - Interface in org.evolvis.tartools.rfc822
Look-ahead matcher callback for Parser.skipPeek(LookaheadMatcher).

M

main(String[]) - Static method in class org.evolvis.tartools.rfc822.CLI
 

O

of(Class<T>, String) - Static method in class org.evolvis.tartools.rfc822.IPAddress
Constructs a parser.
of(String) - Static method in class org.evolvis.tartools.rfc822.FQDN
Creates and initialises a new parser for Fully-Qualified Domain Names.
of(String) - Static method in class org.evolvis.tartools.rfc822.IPAddress
Creates and initialises a new IP address parser.
of(String) - Static method in class org.evolvis.tartools.rfc822.Path
Creates and initialises a new (strict) parser for eMail addresses.
of(String) - Static method in class org.evolvis.tartools.rfc822.UXAddress
Creates and initialises a new (forgiving) parser for eMail addresses.
org.evolvis.tartools.rfc822 - package org.evolvis.tartools.rfc822
 

P

pAddress() - Method in class org.evolvis.tartools.rfc822.Path
 
pAddressList() - Method in class org.evolvis.tartools.rfc822.Path
 
pAddrSpec() - Method in class org.evolvis.tartools.rfc822.Path
 
pAngleAddr() - Method in class org.evolvis.tartools.rfc822.Path
 
Path - Class in org.evolvis.tartools.rfc822
Represents an eMail address header content (parser).
Path(String) - Constructor for class org.evolvis.tartools.rfc822.Path
Private constructor.
Path.Address - Class in org.evolvis.tartools.rfc822
Representation for an address (either mailbox or group).
Path.AddressList - Class in org.evolvis.tartools.rfc822
Representation for an address-list or a mailbox-list.
Path.AddrSpec - Class in org.evolvis.tartools.rfc822
Representation for an addr-spec (eMail address).
Path.AddrSpecSIDE - Class in org.evolvis.tartools.rfc822
Representation for a local-part (FWS unfolded) or a domain (dot-atom only).
Path.ParserResult - Interface in org.evolvis.tartools.rfc822
Methods all Path parser results implement.
Path.UnfoldedSubstring - Class in org.evolvis.tartools.rfc822
Representation for a substring of the input string, FWS unfolded.
pAtom() - Method in class org.evolvis.tartools.rfc822.Path
Returns the parse result of the atom production:
pCcontent() - Method in class org.evolvis.tartools.rfc822.Path
 
pCFWS() - Method in class org.evolvis.tartools.rfc822.Path
Parses CFWS.
pComment() - Method in class org.evolvis.tartools.rfc822.Path
Parses comment.
pDisplayName() - Method in class org.evolvis.tartools.rfc822.Path
 
pDomain() - Method in class org.evolvis.tartools.rfc822.Path
 
pDomainDotAtom(Parser.Substring) - Method in class org.evolvis.tartools.rfc822.Path
 
pDomainDotAtom(Parser.Substring) - Method in class org.evolvis.tartools.rfc822.UXAddress
 
pDomainLiteral() - Method in class org.evolvis.tartools.rfc822.Path
 
pDotAtom() - Method in class org.evolvis.tartools.rfc822.Path
 
peek() - Method in class org.evolvis.tartools.rfc822.IPAddress
Returns the wide character after the one at the current position.
pFWS() - Method in class org.evolvis.tartools.rfc822.Path
Parses FWS.
pGroup() - Method in class org.evolvis.tartools.rfc822.Path
 
pIPv4Address() - Method in class org.evolvis.tartools.rfc822.IPAddress
 
pIPv6Address() - Method in class org.evolvis.tartools.rfc822.IPAddress
 
pLocalPart() - Method in class org.evolvis.tartools.rfc822.Path
 
pMailbox() - Method in class org.evolvis.tartools.rfc822.Path
 
pMailboxList() - Method in class org.evolvis.tartools.rfc822.Path
 
pNameAddr() - Method in class org.evolvis.tartools.rfc822.Path
 
pos() - Method in class org.evolvis.tartools.rfc822.IPAddress
Returns the current input character position.
pPhrase() - Method in class org.evolvis.tartools.rfc822.Path
 
pQcontent() - Method in class org.evolvis.tartools.rfc822.Path
 
pQuotedPair() - Method in class org.evolvis.tartools.rfc822.Path
 
pQuotedString() - Method in class org.evolvis.tartools.rfc822.Path
Returns the parse result of the quoted-string production:
pWord() - Method in class org.evolvis.tartools.rfc822.Path
 

S

s() - Method in class org.evolvis.tartools.rfc822.IPAddress
Returns the input string, for use with substring comparisons.
skip(ContextlessMatcher) - Method in class org.evolvis.tartools.rfc822.IPAddress
Advances the current position using a regular matcher.
skipPeek(LookaheadMatcher) - Method in class org.evolvis.tartools.rfc822.IPAddress
Advances the current position using a peeking matcher.

T

toSkip(int) - Method in interface org.evolvis.tartools.rfc822.ContextlessMatcher
Determines whether the current character is to be skipped.
toSkip(int, int) - Method in interface org.evolvis.tartools.rfc822.LookaheadMatcher
Determines whether the current character is to be skipped.
toString() - Method in class org.evolvis.tartools.rfc822.Path.Address
Renders the mailbox or group as (non-wrapped) string.
toString() - Method in class org.evolvis.tartools.rfc822.Path.AddressList
Returns the address-list or mailbox-list as (non-wrapped) string.
toString() - Method in class org.evolvis.tartools.rfc822.Path.AddrSpec
Returns the addr-spec as eMail address (in wire format).
toString() - Method in class org.evolvis.tartools.rfc822.Path.AddrSpecSIDE
Returns the string representation of this local-part (FWS unfolded) or domain (dot-atom).
toString() - Method in interface org.evolvis.tartools.rfc822.Path.ParserResult
Returns this parser result in some useful format.
toString() - Method in class org.evolvis.tartools.rfc822.Path.UnfoldedSubstring
Returns the string representation of this Parser.Substring, in our case, an unfolded (see Path.unfold(String)) copy of the on-wire representation.

U

unfold(String) - Static method in class org.evolvis.tartools.rfc822.Path
Removes all occurrences of CR and/or LF from a string.
unfold(Parser.Substring) - Method in class org.evolvis.tartools.rfc822.Path
Unfolds FWS in the passed Substring if necessary.
UXAddress - Class in org.evolvis.tartools.rfc822
Represents an RFC822 (and successors) eMail address header content, like Path, except the parser accepts more varying input, especially input by humans, and eventually will MIME-encode any nōn-ASCII characters.
UXAddress(String) - Constructor for class org.evolvis.tartools.rfc822.UXAddress
Private constructor.

V

v4(String) - Static method in class org.evolvis.tartools.rfc822.IPAddress
Parses the passed string as Legacy IP address (IPv4).
v6(String) - Static method in class org.evolvis.tartools.rfc822.IPAddress
Parses the passed string as IP address (IPv6), excluding Zone ID (scope).
A B C F I J L M O P S T U V 
All Classes and Interfaces|All Packages