public class MIME_PART extends BaseStruct
Notes MIME_PART struct (mimeods.h)
This structure consists of the fixed portion accessed here as well as a data portion, which follows it immediately in memory. Accordingly, any new-object allocation will need to include both this structure and enough memory to house the actual data.
Modifier and Type | Field and Description |
---|---|
static int |
_cPartType |
static int |
_cSpare |
static int |
_dwFlags |
static int |
_dwSpare |
static int |
_wBoundaryLen |
static int |
_wByteCount |
static int |
_wHeadersLen |
static int |
_wSpare |
static int |
_wVersion |
static int |
sizeOf |
static int |
variableOffset
This is a virtual member representing the start of the post-struct variable data
|
data, owned
Constructor and Description |
---|
MIME_PART()
Because this structure also contains variable data afterward, the
self-allocating structure will likely have little use.
|
MIME_PART(long data) |
MIME_PART(long data,
boolean owned) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getBodyData() |
String |
getBodyLMBCS() |
String |
getBoundary() |
short |
getBoundaryLen() |
short |
getByteCount() |
javax.mail.internet.ContentDisposition |
getContentDisposition() |
javax.mail.internet.ContentType |
getContentType() |
Set<MIMEPartFlag> |
getFlags() |
int |
getFlagsRaw() |
byte[] |
getHeaderData() |
String |
getHeaders() |
short |
getHeadersLen() |
String |
getHeadersLMBCS() |
javax.mail.internet.InternetHeaders |
getInternetHeaders() |
byte[] |
getMimeData() |
MIMEPartType |
getPartType() |
byte |
getPartTypeRaw() |
short |
getVersion() |
void |
setBoundaryLen(short boundaryLen) |
void |
setByteCount(short byteCount) |
void |
setFlags(Collection<MIMEPartFlag> flags) |
void |
setFlagsRaw(int flags) |
void |
setHeadersLen(short headersLen) |
void |
setPartType(MIMEPartType partType) |
void |
setPartTypeRaw(byte partType) |
void |
setVersion(short version) |
javax.mail.internet.MimeBodyPart |
toMimeBodyPart() |
String |
toString() |
_checkRefValidity, _getBYTE, _getDHandle, _getDWORD, _getFONTID, _getHTMLAPI_REF_TYPE, _getInt, _getLong, _getNOTEID, _getPointer, _getUSHORT, _getWORD, _setBYTE, _setDHandle, _setDWORD, _setFONTID, _setInt, _setLong, _setNOTEID, _setUSHORT, _setWORD, finalize, free, free, getAllocatedStructCount, getDataPtr, getField, isRefValid, isTraceCreation, setDataPtr, setTraceCreation
public static final int sizeOf
public static final int _wVersion
public static final int _dwFlags
public static final int _cPartType
public static final int _cSpare
public static final int _wByteCount
public static final int _wBoundaryLen
public static final int _wHeadersLen
public static final int _wSpare
public static final int _dwSpare
public static final int variableOffset
public MIME_PART()
public MIME_PART(long data)
public MIME_PART(long data, boolean owned)
public short getVersion()
public void setVersion(short version)
public int getFlagsRaw()
public void setFlagsRaw(int flags)
public byte getPartTypeRaw()
public void setPartTypeRaw(byte partType)
public short getByteCount()
public void setByteCount(short byteCount)
public short getBoundaryLen()
public void setBoundaryLen(short boundaryLen)
public short getHeadersLen()
public void setHeadersLen(short headersLen)
public byte[] getMimeData()
public String getBoundary()
public String getHeaders()
public byte[] getHeaderData()
public String getHeadersLMBCS()
public byte[] getBodyData()
public String getBodyLMBCS()
public Set<MIMEPartFlag> getFlags()
public void setFlags(Collection<MIMEPartFlag> flags)
public MIMEPartType getPartType()
public void setPartType(MIMEPartType partType)
public javax.mail.internet.MimeBodyPart toMimeBodyPart() throws javax.mail.MessagingException, DominoException
javax.mail.MessagingException
DominoException
public javax.mail.internet.InternetHeaders getInternetHeaders() throws DominoException
DominoException
public javax.mail.internet.ContentType getContentType() throws DominoException
ContentType
object, or null
if there is no such headerDominoException
- if there is a problem determining the content type header. This
may wrap a MessagingException
public javax.mail.internet.ContentDisposition getContentDisposition() throws DominoException
ContentDisposition
object, or null
if there is no such headerDominoException
- if there is a problem determining the content type header. This
may wrap a MessagingException
public String toString()
toString
in class BaseStruct
Copyright © 2014–2018. All rights reserved.