Package org.apache.james.mime4j.field
Class UnstructuredFieldImpl
- java.lang.Object
-
- org.apache.james.mime4j.field.AbstractField
-
- org.apache.james.mime4j.field.UnstructuredFieldImpl
-
- All Implemented Interfaces:
ParsedField
,UnstructuredField
,Field
public class UnstructuredFieldImpl extends AbstractField implements UnstructuredField
Simple unstructured field such asSubject
.
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
parsed
static FieldParser<UnstructuredField>
PARSER
private java.lang.String
value
-
Fields inherited from class org.apache.james.mime4j.field.AbstractField
monitor, rawField
-
-
Constructor Summary
Constructors Constructor Description UnstructuredFieldImpl(Field rawField, DecodeMonitor monitor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
private void
parse()
-
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.stream.Field
getBody, getName, getNameLowerCase, getRaw
-
Methods inherited from interface org.apache.james.mime4j.dom.field.ParsedField
bodyDescriptionField, getParseException, isValidField
-
-
-
-
Field Detail
-
parsed
private boolean parsed
-
value
private java.lang.String value
-
PARSER
public static final FieldParser<UnstructuredField> PARSER
-
-
Constructor Detail
-
UnstructuredFieldImpl
UnstructuredFieldImpl(Field rawField, DecodeMonitor monitor)
-
-
Method Detail
-
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interfaceUnstructuredField
- See Also:
UnstructuredField.getValue()
-
parse
private void parse()
-
-