Interface ContentLengthField
- All Superinterfaces:
Field,ParsedField
- All Known Implementing Classes:
ContentLengthFieldImpl
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanlongGets the content length value defined in this field.Methods inherited from interface org.apache.james.mime4j.stream.Field
getBody, getName, getNameLowerCase, getRawMethods inherited from interface org.apache.james.mime4j.dom.field.ParsedField
getParseException, isValidField
-
Method Details
-
bodyDescriptionField
default boolean bodyDescriptionField()- Specified by:
bodyDescriptionFieldin interfaceParsedField
-
getContentLength
long getContentLength()Gets the content length value defined in this field.- Returns:
- the content length value.
-