Interface ContentLengthField
-
- All Superinterfaces:
Field
,ParsedField
- All Known Implementing Classes:
ContentLengthFieldImpl
public interface ContentLengthField extends ParsedField
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default boolean
bodyDescriptionField()
long
getContentLength()
Gets the content length value 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
-
getContentLength
long getContentLength()
Gets the content length value defined in this field.- Returns:
- the content length value.
-
-