Interface ParsedField
- All Superinterfaces:
Field
- All Known Subinterfaces:
AddressListField, ContentDescriptionField, ContentDispositionField, ContentIdField, ContentLanguageField, ContentLengthField, ContentLocationField, ContentMD5Field, ContentTransferEncodingField, ContentTypeField, DateTimeField, MailboxField, MailboxListField, MimeVersionField, UnstructuredField
- All Known Implementing Classes:
AbstractField, AddressListFieldImpl, AddressListFieldLenientImpl, ContentDescriptionFieldImpl, ContentDispositionFieldImpl, ContentDispositionFieldLenientImpl, ContentIdFieldImpl, ContentLanguageFieldImpl, ContentLanguageFieldLenientImpl, ContentLengthFieldImpl, ContentLocationFieldImpl, ContentLocationFieldLenientImpl, ContentMD5FieldImpl, ContentTransferEncodingFieldImpl, ContentTypeFieldImpl, ContentTypeFieldLenientImpl, DateTimeFieldImpl, DateTimeFieldLenientImpl, MailboxFieldImpl, MailboxFieldLenientImpl, MailboxListFieldImpl, MailboxListFieldLenientImpl, MimeVersionFieldImpl, MimeVersionFieldLenientImpl, UnstructuredFieldImpl
A structured field that has been processed by a parsing routine.
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanReturns the exception that was thrown by the field parser while parsing the field value.booleanReturnstrueif this field is valid, i.e.Methods inherited from interface Field
getBody, getName, getNameLowerCase, getRaw
-
Method Details
-
bodyDescriptionField
default boolean bodyDescriptionField() -
isValidField
boolean isValidField()Returnstrueif this field is valid, i.e. no errors were encountered while parsing the field value.- Returns:
trueif this field is valid,falseotherwise.- See Also:
-
getParseException
ParseException getParseException()Returns the exception that was thrown by the field parser while parsing the field value. The result isnullif the field is valid and no errors were encountered.- Returns:
- the exception that was thrown by the field parser or
nullif the field is valid.
-