Interface ContentLocationField
-
- All Superinterfaces:
Field
,ParsedField
- All Known Implementing Classes:
ContentLocationFieldImpl
,ContentLocationFieldLenientImpl
public interface ContentLocationField extends ParsedField
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
bodyDescriptionField()
java.lang.String
getLocation()
Gets the content location defined in this field.-
Methods inherited from interface org.apache.james.mime4j.stream.Field
getBody, getName, getNameLowerCase, getRaw
-
Methods inherited from interface org.apache.james.mime4j.dom.field.ParsedField
getParseException, isValidField
-
-
-
-
Method Detail
-
bodyDescriptionField
default boolean bodyDescriptionField()
- Specified by:
bodyDescriptionField
in interfaceParsedField
-
getLocation
java.lang.String getLocation()
Gets the content location defined in this field.- Returns:
- the content location or
null
if not set.
-
-