Package org.apache.james.mime4j.field
Class ContentLocationFieldImpl
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.ContentLocationFieldImpl
- All Implemented Interfaces:
ContentLocationField,ParsedField,Field
Represents a
Content-Location field.-
Field Summary
FieldsFields inherited from class org.apache.james.mime4j.field.AbstractField
monitor, rawField -
Method Summary
Modifier and TypeMethodDescriptionGets the content location defined in this field.Returns the exception that was thrown by the field parser while parsing the field value.Methods inherited from class org.apache.james.mime4j.field.AbstractField
getBody, getName, getNameLowerCase, getRaw, getRawField, isValidField, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.james.mime4j.dom.field.ContentLocationField
bodyDescriptionFieldMethods inherited from interface org.apache.james.mime4j.stream.Field
getBody, getName, getNameLowerCase, getRawMethods inherited from interface org.apache.james.mime4j.dom.field.ParsedField
isValidField
-
Field Details
-
PARSER
-
-
Method Details
-
getLocation
Description copied from interface:ContentLocationFieldGets the content location defined in this field.- Specified by:
getLocationin interfaceContentLocationField- Returns:
- the content location or
nullif not set.
-
getParseException
Description copied from interface:ParsedFieldReturns 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.- Specified by:
getParseExceptionin interfaceParsedField- Overrides:
getParseExceptionin classAbstractField- Returns:
- the exception that was thrown by the field parser or
nullif the field is valid. - See Also:
-