Package org.apache.james.mime4j.stream
Class RawField
- java.lang.Object
-
- org.apache.james.mime4j.stream.RawField
-
- All Implemented Interfaces:
Field
public final class RawField extends Object implements Field
Raw (unstructured) MIME field. The field's body is unparsed and possibly encoded.
Instances of this class can be created by using
RawFieldParser.parseField(ByteSequence)method.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBody()Gets the unparsed and possibly encoded (see RFC 2047) field body string.intgetDelimiterIdx()StringgetName()Returns the name of the field.StringgetNameLowerCase()Returns the name of the field in lower case.ByteSequencegetRaw()Gets original (raw) representation of the field, if available,nullotherwise.StringtoString()
-
-
-
Method Detail
-
getRaw
public ByteSequence getRaw()
Description copied from interface:FieldGets original (raw) representation of the field, if available,nullotherwise.
-
getName
public String getName()
Description copied from interface:FieldReturns the name of the field.
-
getNameLowerCase
public String getNameLowerCase()
Description copied from interface:FieldReturns the name of the field in lower case.- Specified by:
getNameLowerCasein interfaceField
-
getBody
public String getBody()
Description copied from interface:FieldGets the unparsed and possibly encoded (see RFC 2047) field body string.
-
getDelimiterIdx
public int getDelimiterIdx()
-
-