Package org.apache.james.mime4j.field
Class ContentLocationFieldLenientImpl
- java.lang.Object
-
- org.apache.james.mime4j.field.AbstractField
-
- org.apache.james.mime4j.field.ContentLocationFieldLenientImpl
-
- All Implemented Interfaces:
ContentLocationField,ParsedField,Field
public class ContentLocationFieldLenientImpl extends AbstractField implements ContentLocationField
Represents aContent-Locationfield.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringlocationprivate booleanparsedstatic FieldParser<ContentLocationField>PARSER-
Fields inherited from class org.apache.james.mime4j.field.AbstractField
monitor, rawField
-
-
Constructor Summary
Constructors Constructor Description ContentLocationFieldLenientImpl(Field rawField, DecodeMonitor monitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetLocation()Gets the content location defined in this field.private voidparse()-
Methods inherited from class org.apache.james.mime4j.field.AbstractField
getBody, getName, getNameLowerCase, getParseException, getRaw, getRawField, isValidField, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.james.mime4j.dom.field.ContentLocationField
bodyDescriptionField
-
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
-
-
-
-
Field Detail
-
parsed
private boolean parsed
-
location
private java.lang.String location
-
PARSER
public static final FieldParser<ContentLocationField> PARSER
-
-
Constructor Detail
-
ContentLocationFieldLenientImpl
ContentLocationFieldLenientImpl(Field rawField, DecodeMonitor monitor)
-
-
Method Detail
-
parse
private void parse()
-
getLocation
public java.lang.String 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.
-
-