|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.openexchange.mail.uuencode.UUEncodedMultiPart
com.openexchange.mail.uuencode.UUEncodedPart
public class UUEncodedPart
UUEncodedPart - UUEncode part containing all needed information about the attachment.
| Method Summary | |
|---|---|
javax.activation.DataHandler |
getDataHandler(java.lang.String contentType)
Creates a data handler for this uuencoded part. |
java.lang.String |
getFileName()
Return the filename attribute of the UUEncodedPart object |
int |
getFileSize()
Return the file size attribute of the UUEncodedPart object. |
int |
getIndexEnd()
Return the end position of the attachment within the content. |
int |
getIndexStart()
Return the start position of the attachment within the content. |
java.io.InputStream |
getInputStream()
Gets the inputStream attribute of the UUEncodedPart object |
java.lang.StringBuilder |
getPart()
Gets the encoded part as StringBuffer |
void |
writeTo(java.io.OutputStream out)
Output an appropriately encoded byte stream to the given OutputStream. |
| Methods inherited from class com.openexchange.mail.uuencode.UUEncodedMultiPart |
|---|
getBodyPart, getCleanText, getCount, isUUEncoded, removeBodyPart |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getFileName()
public int getFileSize()
public int getIndexStart()
public int getIndexEnd()
public java.io.InputStream getInputStream()
public javax.activation.DataHandler getDataHandler(java.lang.String contentType)
contentType - The content type to apply to data handler
public java.lang.StringBuilder getPart()
public void writeTo(java.io.OutputStream out)
throws java.io.IOException
out - - The inputStream
java.io.IOException - if an error occurs writing to the stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||