Interface ContentLengthField
- All Superinterfaces:
Field
,ParsedField
- All Known Implementing Classes:
ContentLengthFieldImpl
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
long
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 Details
-
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.
-