You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by no...@apache.org on 2006/05/31 11:10:21 UTC
svn commit: r410472 -
/james/server/trunk/src/java/org/apache/james/transport/mailets/AddHeader.java
Author: norman
Date: Wed May 31 02:10:21 2006
New Revision: 410472
URL: http://svn.apache.org/viewvc?rev=410472&view=rev
Log:
-create a AddHeader class which extends on SetMimeHeader and mark it as deprecated. See JAMES-513
Added:
james/server/trunk/src/java/org/apache/james/transport/mailets/AddHeader.java
Added: james/server/trunk/src/java/org/apache/james/transport/mailets/AddHeader.java
URL: http://svn.apache.org/viewvc/james/server/trunk/src/java/org/apache/james/transport/mailets/AddHeader.java?rev=410472&view=auto
==============================================================================
--- james/server/trunk/src/java/org/apache/james/transport/mailets/AddHeader.java (added)
+++ james/server/trunk/src/java/org/apache/james/transport/mailets/AddHeader.java Wed May 31 02:10:21 2006
@@ -0,0 +1,37 @@
+/***********************************************************************
+ * Copyright (c) 2006 The Apache Software Foundation. *
+ * All rights reserved. *
+ * ------------------------------------------------------------------- *
+ * Licensed under the Apache License, Version 2.0 (the "License"); you *
+ * may not use this file except in compliance with the License. You *
+ * may obtain a copy of the License at: *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, software *
+ * distributed under the License is distributed on an "AS IS" BASIS, *
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or *
+ * implied. See the License for the specific language governing *
+ * permissions and limitations under the License. *
+ ***********************************************************************/
+
+package org.apache.james.transport.mailets;
+
+/**
+ *
+ * @see org.apache.james.transport.mailets.SetMimeHeader
+ * @deprecated This class was replaced by SetMimeHeader and is only here for
+ * backwards compatibly. It will be removed in next stable release
+ */
+public class AddHeader extends SetMimeHeader {
+
+ /**
+ * Return a string describing this mailet.
+ *
+ * @return a string describing this mailet
+ */
+ public String getMailetInfo() {
+ return "AddHeader Mailet" ;
+ }
+
+}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org