|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ibm.xsp.http.MimeMultipart
public class MimeMultipart
This class represents a multipart mime item. It contains the item name and a list of all the mime parts.
| Nested Class Summary | |
|---|---|
static class |
MimeMultipart.HtmlWrapper
Creates cached HTML wrapper class |
| Constructor Summary | |
|---|---|
MimeMultipart(java.lang.Object o)
|
|
| Method Summary | |
|---|---|
static MimeMultipart |
fromHTML(java.lang.Object value)
Returns value as a MimeMultipart |
java.lang.String |
getContentAsText()
Return the text content as simple text. |
long |
getContentLength()
Returns the content length for the file |
java.lang.String |
getHTML()
Returns an HTML representation of the MIME |
java.lang.String |
getItemName()
Returns the name of the name of the rich text item which holds this Mime |
long[] |
getMimeLengths()
Returns an array of content lengths for the files |
IMimePart[] |
getMimeParts()
Returns an array of IMimeParts |
java.lang.String[] |
getMimeTypes()
Returns an array of content types for the files |
boolean |
isHTMLConverted()
Returns true if the HTML is the result of a conversion that requires a user prompt |
boolean |
isSameAs(IMimeMultipart rval)
Returns the position |
void |
setHTMLConverted(boolean isConverted)
Specifies if the HTML is the result of a conversion that requires a user prompt |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MimeMultipart(java.lang.Object o)
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic long getContentLength()
IMimeMultipart
getContentLength in interface IMimeMultipartpublic java.lang.String getItemName()
IMimeMultipart
getItemName in interface IMimeMultipartpublic long[] getMimeLengths()
IMimeMultipart
getMimeLengths in interface IMimeMultipartpublic IMimePart[] getMimeParts()
IMimeMultipart
getMimeParts in interface IMimeMultipartpublic java.lang.String[] getMimeTypes()
IMimeMultipart
getMimeTypes in interface IMimeMultipartpublic java.lang.String getHTML()
IMimeMultipart
getHTML in interface IMimeMultipartpublic java.lang.String getContentAsText()
IMimeMultipart
getContentAsText in interface IMimeMultipartpublic static MimeMultipart fromHTML(java.lang.Object value)
MimeMultipart
public boolean isSameAs(IMimeMultipart rval)
IMimeMultipart
isSameAs in interface IMimeMultipartpublic boolean isHTMLConverted()
IMimeMultipart
isHTMLConverted in interface IMimeMultipartpublic void setHTMLConverted(boolean isConverted)
IMimeMultipart
setHTMLConverted in interface IMimeMultipart
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||