serge 01/10/08 21:00:18
Modified: src/java/org/apache/james/core MatcherConfigImpl.java
MimeMessageSource.java MimeMessageWrapper.java
Log:
Add small documentation and license header.
Revision Changes Path
1.2 +1 -0
jakarta-james/src/java/org/apache/james/core/MatcherConfigImpl.java
Index: MatcherConfigImpl.java
===================================================================
RCS file:
/home/cvs/jakarta-james/src/java/org/apache/james/core/MatcherConfigImpl.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MatcherConfigImpl.java 2001/05/11 09:15:43 1.1
+++ MatcherConfigImpl.java 2001/10/09 04:00:17 1.2
@@ -15,6 +15,7 @@
import org.apache.mailet.*;
/**
+ * The implementation of the configuration object for a Matcher.
*
* @author Serge Knystautas <[EMAIL PROTECTED]>
*/
1.2 +10 -0
jakarta-james/src/java/org/apache/james/core/MimeMessageSource.java
Index: MimeMessageSource.java
===================================================================
RCS file:
/home/cvs/jakarta-james/src/java/org/apache/james/core/MimeMessageSource.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- MimeMessageSource.java 2001/08/06 03:40:07 1.1
+++ MimeMessageSource.java 2001/10/09 04:00:17 1.2
@@ -1,8 +1,18 @@
+/*
+ * Copyright (C) The Apache Software Foundation. All rights reserved.
+ *
+ * This software is published under the terms of the Apache Software License
+ * version 1.1, a copy of which has been included with this distribution in
+ * the LICENSE file.
+ */
package org.apache.james.core;
import java.io.IOException;
import java.io.InputStream;
+/**
+ * A source of a MimeMessage.
+ */
public abstract class MimeMessageSource {
/**
* Return an input stream to the data
1.3 +12 -0
jakarta-james/src/java/org/apache/james/core/MimeMessageWrapper.java
Index: MimeMessageWrapper.java
===================================================================
RCS file:
/home/cvs/jakarta-james/src/java/org/apache/james/core/MimeMessageWrapper.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- MimeMessageWrapper.java 2001/09/11 04:32:12 1.2
+++ MimeMessageWrapper.java 2001/10/09 04:00:17 1.3
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) The Apache Software Foundation. All rights reserved.
+ *
+ * This software is published under the terms of the Apache Software License
+ * version 1.1, a copy of which has been included with this distribution in
+ * the LICENSE file.
+ */
package org.apache.james.core;
import java.io.*;
@@ -7,6 +14,11 @@
import javax.mail.*;
import javax.mail.internet.*;
+/**
+ * This object wraps a MimeMessage, only loading the underlying MimeMessage
+ * object when needed. Also tracks if changes were made to reduce
+ * unnecessary saves.
+ */
public class MimeMessageWrapper extends MimeMessage {
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]