public class MimeHeader extends Object
Represents the mime header defined in RFC 2822.
Constructor and Description |
---|
MimeHeader(String name,
String value)
Initializes a new instance of the
MimeHeader class. |
Modifier and Type | Method and Description |
---|---|
MimeHeader |
deepClone()
Clones this instance.
|
String |
getName()
Gets the name.
|
String |
getRawContent()
Gets the content of the raw.
|
String |
toString()
|
public MimeHeader(String name, String value)
Initializes a new instance of the MimeHeader
class.
name
- The MimeHeader name.value
- The MimeHeader value.public final String getName()
Gets the name.
Value: The name.public final String getRawContent()
Gets the content of the raw.
Value: The content of the raw.public final MimeHeader deepClone()
Clones this instance.
MimeHeader
class.