james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mwiederk...@apache.org
Subject svn commit: r737569 - /james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/BodyFactory.java
Date Sun, 25 Jan 2009 18:54:44 GMT
Author: mwiederkehr
Date: Sun Jan 25 18:54:43 2009
New Revision: 737569

URL: http://svn.apache.org/viewvc?rev=737569&view=rev
Log:
getter to retrieve the storage provider.

Modified:
    james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/BodyFactory.java

Modified: james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/BodyFactory.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/BodyFactory.java?rev=737569&r1=737568&r2=737569&view=diff
==============================================================================
--- james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/BodyFactory.java (original)
+++ james/mime4j/trunk/src/main/java/org/apache/james/mime4j/message/BodyFactory.java Sun
Jan 25 18:54:43 2009
@@ -66,6 +66,16 @@
     }
 
     /**
+     * Returns the <code>StorageProvider</code> this <code>BodyFactory</code>
+     * uses to create message bodies from inout streams.
+     * 
+     * @return a <code>StorageProvider</code>.
+     */
+    public StorageProvider getStorageProvider() {
+        return storageProvider;
+    }
+
+    /**
      * Creates a {@link BinaryBody} that holds the content of the given input
      * stream.
      * 



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message