james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1060759 - /james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/
Date Wed, 19 Jan 2011 10:45:31 GMT
Author: olegk
Date: Wed Jan 19 10:45:31 2011
New Revision: 1060759

URL: http://svn.apache.org/viewvc?rev=1060759&view=rev
Log:
Renamed *Base message classes to Abstract*

Added:
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractEntity.java
      - copied, changed from r1059968, james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/EntityBase.java
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractHeader.java
      - copied, changed from r1059968, james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderBase.java
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMessage.java
      - copied, changed from r1059968, james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageBase.java
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMultipart.java
      - copied, changed from r1059968, james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartBase.java
Removed:
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/EntityBase.java
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderBase.java
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageBase.java
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartBase.java
Modified:
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/BodyPart.java
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderImpl.java
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageImpl.java
    james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartImpl.java

Copied: james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractEntity.java
(from r1059968, james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/EntityBase.java)
URL: http://svn.apache.org/viewvc/james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractEntity.java?p2=james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractEntity.java&p1=james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/EntityBase.java&r1=1059968&r2=1060759&rev=1060759&view=diff
==============================================================================
--- james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/EntityBase.java
(original)
+++ james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractEntity.java
Wed Jan 19 10:45:31 2011
@@ -40,7 +40,7 @@ import org.apache.james.mime4j.dom.field
 /**
  * MIME entity. An entity has a header and a body (see RFC 2045).
  */
-public abstract class EntityBase implements Entity {
+public abstract class AbstractEntity implements Entity {
     private Header header = null;
     private Body body = null;
     private Entity parent = null;
@@ -49,7 +49,7 @@ public abstract class EntityBase impleme
      * Creates a new <code>Entity</code>. Typically invoked implicitly by a
      * subclass constructor.
      */
-    protected EntityBase() {
+    protected AbstractEntity() {
     }
 
     /**

Copied: james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractHeader.java
(from r1059968, james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderBase.java)
URL: http://svn.apache.org/viewvc/james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractHeader.java?p2=james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractHeader.java&p1=james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderBase.java&r1=1059968&r2=1060759&rev=1060759&view=diff
==============================================================================
--- james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderBase.java
(original)
+++ james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractHeader.java
Wed Jan 19 10:45:31 2011
@@ -32,7 +32,7 @@ import org.apache.james.mime4j.dom.field
 /**
  * The header of an entity (see RFC 2045).
  */
-public abstract class HeaderBase implements Header {
+public abstract class AbstractHeader implements Header {
 
     private List<Field> fields = new LinkedList<Field>();
     private Map<String, List<Field>> fieldMap = new HashMap<String, List<Field>>();
@@ -40,7 +40,7 @@ public abstract class HeaderBase impleme
     /**
      * Creates a new empty <code>Header</code>.
      */
-    public HeaderBase() {
+    public AbstractHeader() {
     }
 
     /**
@@ -53,7 +53,7 @@ public abstract class HeaderBase impleme
      * @param other
      *            header to copy.
      */
-    public HeaderBase(Header other) {
+    public AbstractHeader(Header other) {
         for (Field otherField : other.getFields()) {
             addField(otherField);
         }

Copied: james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMessage.java
(from r1059968, james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageBase.java)
URL: http://svn.apache.org/viewvc/james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMessage.java?p2=james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMessage.java&p1=james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageBase.java&r1=1059968&r2=1060759&rev=1060759&view=diff
==============================================================================
--- james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageBase.java
(original)
+++ james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMessage.java
Wed Jan 19 10:45:31 2011
@@ -39,7 +39,7 @@ import org.apache.james.mime4j.dom.field
 import org.apache.james.mime4j.dom.field.MailboxListField;
 import org.apache.james.mime4j.dom.field.UnstructuredField;
 
-public abstract class MessageBase extends EntityBase implements Message {
+public abstract class AbstractMessage extends AbstractEntity implements Message {
 
     /**
      * Returns the value of the <i>Message-ID</i> header field of this message

Copied: james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMultipart.java
(from r1059968, james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartBase.java)
URL: http://svn.apache.org/viewvc/james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMultipart.java?p2=james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMultipart.java&p1=james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartBase.java&r1=1059968&r2=1060759&rev=1060759&view=diff
==============================================================================
--- james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartBase.java
(original)
+++ james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/AbstractMultipart.java
Wed Jan 19 10:45:31 2011
@@ -33,7 +33,7 @@ import org.apache.james.mime4j.dom.Multi
  * first body part while the epilogue consists of whatever characters come after
  * the last body part.
  */
-public abstract class MultipartBase implements Multipart {
+public abstract class AbstractMultipart implements Multipart {
 
     protected List<Entity> bodyParts = new LinkedList<Entity>();
     private Entity parent = null;
@@ -43,7 +43,7 @@ public abstract class MultipartBase impl
     /**
      * Creates a new empty <code>Multipart</code> instance.
      */
-    public MultipartBase(String subType) {
+    public AbstractMultipart(String subType) {
         this.subType = subType;
     }
 

Modified: james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/BodyPart.java
URL: http://svn.apache.org/viewvc/james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/BodyPart.java?rev=1060759&r1=1060758&r2=1060759&view=diff
==============================================================================
--- james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/BodyPart.java
(original)
+++ james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/BodyPart.java
Wed Jan 19 10:45:31 2011
@@ -33,7 +33,7 @@ import org.apache.james.mime4j.util.Mime
 /**
  * Represents a MIME body part  (see RFC 2045).
  */
-public class BodyPart extends EntityBase {
+public class BodyPart extends AbstractEntity {
 
     /**
      * Creates a new empty <code>BodyPart</code>.

Modified: james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderImpl.java
URL: http://svn.apache.org/viewvc/james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderImpl.java?rev=1060759&r1=1060758&r2=1060759&view=diff
==============================================================================
--- james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderImpl.java
(original)
+++ james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/HeaderImpl.java
Wed Jan 19 10:45:31 2011
@@ -22,7 +22,7 @@ package org.apache.james.mime4j.message;
 /**
  * The header of an entity (see RFC 2045).
  */
-public class HeaderImpl extends HeaderBase {
+public class HeaderImpl extends AbstractHeader {
 
     /**
      * Creates a new empty <code>Header</code>.

Modified: james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageImpl.java
URL: http://svn.apache.org/viewvc/james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageImpl.java?rev=1060759&r1=1060758&r2=1060759&view=diff
==============================================================================
--- james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageImpl.java
(original)
+++ james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MessageImpl.java
Wed Jan 19 10:45:31 2011
@@ -45,7 +45,7 @@ import org.apache.james.mime4j.util.Mime
 /**
  * Represents a MIME message. 
  */
-public class MessageImpl extends MessageBase {
+public class MessageImpl extends AbstractMessage {
 
     /**
      * Creates a new empty <code>Message</code>.

Modified: james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartImpl.java
URL: http://svn.apache.org/viewvc/james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartImpl.java?rev=1060759&r1=1060758&r2=1060759&view=diff
==============================================================================
--- james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartImpl.java
(original)
+++ james/mime4j/branches/dom-api-refactoring/dom/src/main/java/org/apache/james/mime4j/message/MultipartImpl.java
Wed Jan 19 10:45:31 2011
@@ -29,7 +29,7 @@ import org.apache.james.mime4j.util.Cont
  * first body part while the epilogue consists of whatever characters come after
  * the last body part.
  */
-public class MultipartImpl extends MultipartBase {
+public class MultipartImpl extends AbstractMultipart {
 
     private ByteSequence preamble;
     private transient String preambleStrCache;



Mime
View raw message