james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1068460 - /james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/Entity.java
Date Tue, 08 Feb 2011 16:07:06 GMT
Author: olegk
Date: Tue Feb  8 16:07:06 2011
New Revision: 1068460

URL: http://svn.apache.org/viewvc?rev=1068460&view=rev
Log:
Added #getDispositionType and #getFilename to the Entity interface

Modified:
    james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/Entity.java

Modified: james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/Entity.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/Entity.java?rev=1068460&r1=1068459&r2=1068460&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/Entity.java (original)
+++ james/mime4j/trunk/dom/src/main/java/org/apache/james/mime4j/dom/Entity.java Tue Feb 
8 16:07:06 2011
@@ -111,4 +111,22 @@ public interface Entity extends Disposab
      */
     String getContentTransferEncoding();
 
+    /**
+     * Return the disposition type of the content disposition of this
+     * <code>Entity</code>.
+     * 
+     * @return the disposition type or <code>null</code> if no disposition
+     *         type has been set.
+     */
+    String getDispositionType();
+
+    /**
+     * Returns the filename parameter of the content disposition of this
+     * <code>Entity</code>.
+     * 
+     * @return the filename parameter of the content disposition or
+     *         <code>null</code> if the filename has not been set.
+     */
+    String getFilename();
+    
 }
\ No newline at end of file



Mime
View raw message