public final class RawField extends java.lang.Object implements Field
RawFieldParser.parseField(ByteSequence) method.| Constructor and Description |
|---|
RawField(java.lang.String name,
java.lang.String body) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getBody()
Gets the unparsed and possibly encoded (see RFC 2047) field body string.
|
int |
getDelimiterIdx() |
java.lang.String |
getName()
Returns the name of the field.
|
ByteSequence |
getRaw()
Gets original (raw) representation of the field, if available,
null otherwise. |
java.lang.String |
toString() |
public ByteSequence getRaw()
Fieldnull otherwise.public java.lang.String getName()
Fieldpublic java.lang.String getBody()
Fieldpublic int getDelimiterIdx()
public java.lang.String toString()
toString in class java.lang.Object