public class AttachHeader extends Header
| Modifier and Type | Field and Description |
|---|---|
int |
iAttachID
Unique attachment ID, set by the decoder
|
int |
iFileSize
This will be set by the decoder (
Mail) to the actual size of this attachment |
int |
iMailID
Unique mail ID, set by higher level code
|
java.lang.String |
sContentDisposition
How to display this attachment
|
java.lang.String |
sContentEncoding
Encoding used to store this attachment in the mail body
|
java.lang.String |
sContentID
Unique identifier, used to reference attachments from the mail body (images ...)
|
java.lang.String |
sContentType
The Content-Type field of the header
|
java.lang.String |
sFileName
If the attachment is a file, this is the file name
|
java.lang.String |
sName
If the attachment has a name, not necessarely a file name, then this field will be set.
|
mHeaders, sBoundary, sCompleteHeader| Constructor and Description |
|---|
AttachHeader(java.lang.String sHeader)
Constructor based on the attachment header, extracted from the body part of the attachment
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Reconstruct an attachment header from the appropriate fields.
|
getOriginalHeader, getValue, mainpublic java.lang.String sContentType
public java.lang.String sFileName
public java.lang.String sName
public java.lang.String sContentEncoding
public java.lang.String sContentDisposition
public java.lang.String sContentID
public int iFileSize
Mail) to the actual size of this attachmentpublic int iMailID
public int iAttachID