diff options
Diffstat (limited to 'src/java/com/libmailcore/AbstractPart.java')
-rw-r--r-- | src/java/com/libmailcore/AbstractPart.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/java/com/libmailcore/AbstractPart.java b/src/java/com/libmailcore/AbstractPart.java index 60a325bc..4e100423 100644 --- a/src/java/com/libmailcore/AbstractPart.java +++ b/src/java/com/libmailcore/AbstractPart.java @@ -20,6 +20,11 @@ public class AbstractPart extends NativeObject { /** Sets the filename of the attachment. */ public native void setFilename(String filename); + /** Returns the mime type of the attachment. */ + public native String mimeType(); + /** Sets the charset encoding of the attachment. */ + public native void setMimeType(String mimeType); + /** Returns the charset encoding of the attachment. */ public native String charset(); /** Sets the charset encoding of the attachment. */ |