public class UUEncodedMultiPart
extends java.lang.Object
UUEncodedMultiPart - Find possible uuencoded attachments in "normal" text (like Outlook does) and converts them to
UUEncodedPart objects.| Constructor and Description |
|---|
UUEncodedMultiPart()
Initializes a new
UUEncodedMultiPart |
UUEncodedMultiPart(java.lang.String content)
Initializes a new
UUEncodedMultiPart |
| Modifier and Type | Method and Description |
|---|---|
UUEncodedPart |
getBodyPart(int index)
Get the specified part.
|
java.lang.String |
getCleanText()
Return the "cleaned" text, without the content of the uuencoded attachments
|
int |
getCount()
Return the number of enclosed parts.
|
boolean |
isUUEncoded()
Checks if content fed into this
UUEncodedMultiPart instance is uuencoded. |
static boolean |
isUUEncoded(java.lang.String content)
Check if specified content might be UUEncoded.
|
void |
removeBodyPart(int index)
Remove the part at specified location (starting from 0).
|
public UUEncodedMultiPart()
UUEncodedMultiPartpublic UUEncodedMultiPart(java.lang.String content)
UUEncodedMultiPartcontent - The text content which is possibly uuencodedpublic boolean isUUEncoded()
UUEncodedMultiPart instance is uuencoded.true if content is uuencoded, false otherwisepublic static boolean isUUEncoded(java.lang.String content)
content - The contenttrue if UUEncoded; otherwise falsepublic java.lang.String getCleanText()
public int getCount()
public UUEncodedPart getBodyPart(int index)
index - The index of the desired partpublic void removeBodyPart(int index)
index - The index of the part to remove