Uses of Class
jakarta.mail.internet.ParseException
Packages that use ParseException
-
Uses of ParseException in jakarta.mail.internet
Subclasses of ParseException in jakarta.mail.internetModifier and TypeClassDescriptionclass
The exception thrown when a wrongly formatted address is encountered.Methods in jakarta.mail.internet that throw ParseExceptionModifier and TypeMethodDescriptionprivate HeaderTokenizer.Token
HeaderTokenizer.collectString
(char eos, boolean keepEscapes) private void
ParameterList.combineMultisegmentNames
(boolean keepConsistentOnFailure) Iterate through the saved set of names of multi-segment parameters, for each parameter find all segments stored in the slist map, decode each segment as needed, combine the segments together into a single decoded value, and save all segments in a MultiValue object in the main list indexed by the parameter name.private static void
ParameterList.decodeBytes
(String value, OutputStream os) Decode the encoded bytes in value and write them to the OutputStream.private static String
ParameterList.decodeBytes
(String value, String charset) Decode the encoded bytes in value using the specified charset.static String
MimeUtility.decodeWord
(String eword) The string is parsed using the rules in RFC 2047 and RFC 2231 for parsing an "encoded-word".private static ParameterList.Value
ParameterList.extractCharset
(String value) Extract charset and encoded value.private HeaderTokenizer.Token
HeaderTokenizer.getNext
(char endOfAtom, boolean keepEscapes) HeaderTokenizer.next()
Parses the next token from this String.HeaderTokenizer.next
(char endOfAtom) Parses the next token from this String.HeaderTokenizer.next
(char endOfAtom, boolean keepEscapes) Parses the next token from this String.HeaderTokenizer.peek()
Peek at the next token, without actually removing the token from the parse stream.private void
ParameterList.putEncodedName
(String name, String value) If the name is an encoded or multi-segment name (or both) handle it appropriately, storing the appropriate String or Value object.Constructors in jakarta.mail.internet that throw ParseExceptionModifierConstructorDescriptionConstructor that takes a ContentDisposition string.Constructor that takes a Content-Type string.Constructor that takes a parameter-list string.