|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.mime4j.stream.RawField
public final class RawField
Raw (unstructured) MIME field. The field's body is unparsed and possibly encoded.
Instances of this class can be created by usingRawFieldParser.parseField(ByteSequence) method.
| Constructor Summary | |
|---|---|
RawField(String name,
String body)
|
|
| Method Summary | |
|---|---|
String |
getBody()
Gets the unparsed and possibly encoded (see RFC 2047) field body string. |
int |
getDelimiterIdx()
|
String |
getName()
Returns the name of the field. |
ByteSequence |
getRaw()
Gets original (raw) representation of the field, if available, null otherwise. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RawField(String name,
String body)
| Method Detail |
|---|
public ByteSequence getRaw()
Fieldnull otherwise.
getRaw in interface Fieldpublic String getName()
Field
getName in interface Fieldpublic String getBody()
Field
getBody in interface Fieldpublic int getDelimiterIdx()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||