Package | Description |
---|---|
org.apache.james.mime4j.field | |
org.apache.james.mime4j.parser | |
org.apache.james.mime4j.util |
Modifier and Type | Method and Description |
---|---|
ByteSequence |
AbstractField.getRaw()
Gets the original raw field string.
|
Modifier and Type | Method and Description |
---|---|
static ParsedField |
AbstractField.parse(ByteSequence raw)
Parses the given byte sequence and returns an instance of the
Field class. |
ParsedField |
DelegatingFieldParser.parse(java.lang.String name,
java.lang.String body,
ByteSequence raw) |
ParsedField |
FieldParser.parse(java.lang.String name,
java.lang.String body,
ByteSequence raw) |
Constructor and Description |
---|
AbstractField(java.lang.String name,
java.lang.String body,
ByteSequence raw) |
Modifier and Type | Method and Description |
---|---|
ByteSequence |
Field.getRaw()
Gets the original raw field bytes.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayBuffer
A resizable byte array.
|
Modifier and Type | Field and Description |
---|---|
static ByteSequence |
ByteSequence.EMPTY
An empty byte sequence.
|
Modifier and Type | Method and Description |
---|---|
static ByteSequence |
ContentUtil.encode(java.nio.charset.Charset charset,
java.lang.String string)
Encodes the specified string into an immutable sequence of bytes using
the specified charset.
|
static ByteSequence |
ContentUtil.encode(java.lang.String string)
Encodes the specified string into an immutable sequence of bytes using
the US-ASCII charset.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
ContentUtil.decode(ByteSequence byteSequence)
Decodes the specified sequence of bytes into a string using the US-ASCII
charset.
|
static java.lang.String |
ContentUtil.decode(ByteSequence byteSequence,
int offset,
int length)
Decodes a sub-sequence of the specified sequence of bytes into a string
using the US-ASCII charset.
|
static java.lang.String |
ContentUtil.decode(java.nio.charset.Charset charset,
ByteSequence byteSequence)
Decodes the specified sequence of bytes into a string using the specified
charset.
|
static java.lang.String |
ContentUtil.decode(java.nio.charset.Charset charset,
ByteSequence byteSequence,
int offset,
int length)
Decodes a sub-sequence of the specified sequence of bytes into a string
using the specified charset.
|
Copyright © 2004-2014. All Rights Reserved.