You are viewing a plain text version of this content. The canonical link for it is here.
Posted to site-dev@james.apache.org by rd...@apache.org on 2009/02/21 13:39:52 UTC
svn commit: r746496 [4/13] - in /james/site/trunk/www/mailet: ./ api/
api/apidocs/ api/apidocs/org/apache/mailet/
api/apidocs/org/apache/mailet/class-use/ api/stylesheets/ api/testapidocs/
api/testapidocs/org/apache/mailet/ api/testapidocs/org/apache/m...
Modified: james/site/trunk/www/mailet/base/surefire-report.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/surefire-report.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/surefire-report.html (original)
+++ james/site/trunk/www/mailet/base/surefire-report.html Sat Feb 21 12:39:39 2009
@@ -45,7 +45,7 @@
<div class="xleft">
- Last Published: 02/14/2009
+ Last Published: 02/21/2009
</div>
<div class="xright"> <a href="../../index.html">JAMES Project</a>
|
@@ -243,7 +243,7 @@
}
}
}
-</script><div class="section"><h2>Surefire Report</h2></div><div class="section"><h2><a name="Summary"></a>Summary</h2><div class="section">[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><br /><table class="bodyTable"><tr class="a"><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td>4</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.053</td></tr></table><br />Note: failures are anticipated and checked for with assertions while errors are unanticipated.<br /></div><div class="section"><h2><a name="Package_List"></a>Package List</h2><div class="section">[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><br /><table class="bodyTable"><tr class="a"><th>Package</th><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr
class="b"><td><a href="#org.apache.mailet.base">org.apache.mailet.base</a></td><td>4</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.053</td></tr></table><br />Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.<div class="section"><h3><a name="org.apache.mailet.base"></a>org.apache.mailet.base</h3><table class="bodyTable"><tr class="a"><th></th><th>Class</th><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.mailet.baseMailetUtilTest"><img src="images/icon_success_sml.gif" /></a></td><td><a href="#org.apache.mailet.baseMailetUtilTest">MailetUtilTest</a></td><td>4</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.053</td></tr></table></div><br /></div><div class="section"><h2><a name="Test_Cases"></a>Test Cases</h2><div class="section">[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_C
ases">Test Cases</a>]</div><div class="section"><h3><a name="org.apache.mailet.baseMailetUtilTest"></a>MailetUtilTest</h3><table class="bodyTable"><tr class="a"><td><img src="images/icon_success_sml.gif" /></td><td>testGetInitParameterParameterIsTrue</td><td>0.011</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" /></td><td>testGetInitParameterParameterIsFalse</td><td>0</td></tr><tr class="a"><td><img src="images/icon_success_sml.gif" /></td><td>testGetInitParameterParameterDefaultsToTrue</td><td>0</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" /></td><td>testGetInitParameterParameterDefaultsToFalse</td><td>0</td></tr></table></div><br /></div><br />
+</script><div class="section"><h2>Surefire Report</h2></div><div class="section"><h2><a name="Summary"></a>Summary</h2><div class="section">[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><br /><table class="bodyTable"><tr class="a"><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td>4</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.052</td></tr></table><br />Note: failures are anticipated and checked for with assertions while errors are unanticipated.<br /></div><div class="section"><h2><a name="Package_List"></a>Package List</h2><div class="section">[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_Cases">Test Cases</a>]</div><br /><table class="bodyTable"><tr class="a"><th>Package</th><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr
class="b"><td><a href="#org.apache.mailet.base">org.apache.mailet.base</a></td><td>4</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.052</td></tr></table><br />Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.<div class="section"><h3><a name="org.apache.mailet.base"></a>org.apache.mailet.base</h3><table class="bodyTable"><tr class="a"><th></th><th>Class</th><th>Tests</th><th>Errors </th><th>Failures</th><th>Skipped</th><th>Success Rate</th><th>Time</th></tr><tr class="b"><td><a href="#org.apache.mailet.baseMailetUtilTest"><img src="images/icon_success_sml.gif" /></a></td><td><a href="#org.apache.mailet.baseMailetUtilTest">MailetUtilTest</a></td><td>4</td><td>0</td><td>0</td><td>0</td><td>100%</td><td>0.052</td></tr></table></div><br /></div><div class="section"><h2><a name="Test_Cases"></a>Test Cases</h2><div class="section">[<a href="#Summary">Summary</a>] [<a href="#Package_List">Package List</a>] [<a href="#Test_C
ases">Test Cases</a>]</div><div class="section"><h3><a name="org.apache.mailet.baseMailetUtilTest"></a>MailetUtilTest</h3><table class="bodyTable"><tr class="a"><td><img src="images/icon_success_sml.gif" /></td><td>testGetInitParameterParameterIsTrue</td><td>0.008</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" /></td><td>testGetInitParameterParameterIsFalse</td><td>0</td></tr><tr class="a"><td><img src="images/icon_success_sml.gif" /></td><td>testGetInitParameterParameterDefaultsToTrue</td><td>0</td></tr><tr class="b"><td><img src="images/icon_success_sml.gif" /></td><td>testGetInitParameterParameterDefaultsToFalse</td><td>0</td></tr></table></div><br /></div><br />
</div>
</div>
<div class="clear">
Modified: james/site/trunk/www/mailet/base/taglist.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/taglist.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/taglist.html (original)
+++ james/site/trunk/www/mailet/base/taglist.html Sat Feb 21 12:39:39 2009
@@ -45,7 +45,7 @@
<div class="xleft">
- Last Published: 02/14/2009
+ Last Published: 02/21/2009
</div>
<div class="xright"> <a href="../../index.html">JAMES Project</a>
|
Modified: james/site/trunk/www/mailet/base/team-list.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/team-list.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/team-list.html (original)
+++ james/site/trunk/www/mailet/base/team-list.html Sat Feb 21 12:39:39 2009
@@ -45,7 +45,7 @@
<div class="xleft">
- Last Published: 02/14/2009
+ Last Published: 02/21/2009
</div>
<div class="xright"> <a href="../../index.html">JAMES Project</a>
|
Modified: james/site/trunk/www/mailet/base/testapidocs/allclasses-frame.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/allclasses-frame.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/allclasses-frame.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/allclasses-frame.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:41 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
All Classes (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/allclasses-noframe.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/allclasses-noframe.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/allclasses-noframe.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/allclasses-noframe.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:41 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
All Classes (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/constant-values.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/constant-values.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/constant-values.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/constant-values.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Constant Field Values (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/deprecated-list.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/deprecated-list.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/deprecated-list.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/deprecated-list.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:41 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Deprecated List (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/help-doc.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/help-doc.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/help-doc.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/help-doc.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:41 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
API Help (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/index-all.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/index-all.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/index-all.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/index-all.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Index (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/index.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/index.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/index.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/index.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc on Sat Feb 14 11:27:41 GMT 2009-->
+<!-- Generated by javadoc on Sat Feb 21 12:18:55 GMT 2009-->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/MailetUtilTest.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/MailetUtilTest.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/MailetUtilTest.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/MailetUtilTest.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:39 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:54 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
MailetUtilTest (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/class-use/MailetUtilTest.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/class-use/MailetUtilTest.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/class-use/MailetUtilTest.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/class-use/MailetUtilTest.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class org.apache.mailet.base.MailetUtilTest (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-frame.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-frame.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-frame.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-frame.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
org.apache.mailet.base (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-summary.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-summary.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-summary.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-summary.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
org.apache.mailet.base (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-tree.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-tree.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-tree.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-tree.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
org.apache.mailet.base Class Hierarchy (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-use.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-use.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-use.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/package-use.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Package org.apache.mailet.base (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMail.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMail.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMail.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMail.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:39 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:54 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
FakeMail (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMailContext.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMailContext.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMailContext.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMailContext.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:39 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:54 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
FakeMailContext (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMailetConfig.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMailetConfig.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMailetConfig.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMailetConfig.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:39 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:54 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
FakeMailetConfig (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMatcherConfig.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMatcherConfig.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMatcherConfig.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMatcherConfig.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:39 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
FakeMatcherConfig (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMimeMessage.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMimeMessage.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMimeMessage.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/FakeMimeMessage.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:39 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
FakeMimeMessage (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/MailUtil.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/MailUtil.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/MailUtil.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/MailUtil.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
MailUtil (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMail.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMail.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMail.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMail.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class org.apache.mailet.base.test.FakeMail (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMailContext.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMailContext.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMailContext.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMailContext.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class org.apache.mailet.base.test.FakeMailContext (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMailetConfig.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMailetConfig.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMailetConfig.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMailetConfig.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class org.apache.mailet.base.test.FakeMailetConfig (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMatcherConfig.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMatcherConfig.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMatcherConfig.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMatcherConfig.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class org.apache.mailet.base.test.FakeMatcherConfig (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMimeMessage.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMimeMessage.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMimeMessage.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/FakeMimeMessage.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class org.apache.mailet.base.test.FakeMimeMessage (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/MailUtil.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/MailUtil.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/MailUtil.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/class-use/MailUtil.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Class org.apache.mailet.base.test.MailUtil (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-frame.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-frame.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-frame.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-frame.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
org.apache.mailet.base.test (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-summary.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-summary.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-summary.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-summary.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
org.apache.mailet.base.test (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-tree.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-tree.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-tree.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-tree.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
org.apache.mailet.base.test Class Hierarchy (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-use.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-use.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-use.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/org/apache/mailet/base/test/package-use.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Uses of Package org.apache.mailet.base.test (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/overview-frame.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/overview-frame.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/overview-frame.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/overview-frame.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Overview (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/overview-summary.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/overview-summary.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/overview-summary.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/overview-summary.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:41 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Overview (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/overview-tree.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/overview-tree.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/overview-tree.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/overview-tree.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Class Hierarchy (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/testapidocs/serialized-form.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/testapidocs/serialized-form.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/testapidocs/serialized-form.html (original)
+++ james/site/trunk/www/mailet/base/testapidocs/serialized-form.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:27:40 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:18:55 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Serialized Form (Apache JAMES Basic Mailet Toolkit 1.0-SNAPSHOT Test API)
Modified: james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/FlowedMessageUtils.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/FlowedMessageUtils.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/FlowedMessageUtils.html (original)
+++ james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/FlowedMessageUtils.html Sat Feb 21 12:39:39 2009
@@ -70,7 +70,7 @@
<a name="60" href="#60">60</a> }
<a name="61" href="#61">61</a>
<a name="62" href="#62">62</a> <em class="jxr_javadoccomment">/**</em>
-<a name="63" href="#63">63</a> <em class="jxr_javadoccomment"> * Decodes a text previously wrapped using "format=flowed"</em>
+<a name="63" href="#63">63</a> <em class="jxr_javadoccomment"> * Decodes a text previously wrapped using "format=flowed".</em>
<a name="64" href="#64">64</a> <em class="jxr_javadoccomment"> */</em>
<a name="65" href="#65">65</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> String deflow(String text, <strong class="jxr_keyword">boolean</strong> delSp) {
<a name="66" href="#66">66</a> String[] lines = text.split(<span class="jxr_string">"\r\n|\n"</span>, -1);
@@ -139,7 +139,7 @@
<a name="129" href="#129">129</a> }
<a name="130" href="#130">130</a>
<a name="131" href="#131">131</a> <em class="jxr_javadoccomment">/**</em>
-<a name="132" href="#132">132</a> <em class="jxr_javadoccomment"> * Obtains the content of the encoded message, if previously encoded as format=flowed.</em>
+<a name="132" href="#132">132</a> <em class="jxr_javadoccomment"> * Obtains the content of the encoded message, if previously encoded as <code>format=flowed</code>.</em>
<a name="133" href="#133">133</a> <em class="jxr_javadoccomment"> */</em>
<a name="134" href="#134">134</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> String deflow(Message m) <strong class="jxr_keyword">throws</strong> IOException, MessagingException {
<a name="135" href="#135">135</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType(m.getContentType());
@@ -154,164 +154,165 @@
<a name="144" href="#144">144</a> }
<a name="145" href="#145">145</a>
<a name="146" href="#146">146</a> <em class="jxr_javadoccomment">/**</em>
-<a name="147" href="#147">147</a> <em class="jxr_javadoccomment"> * If the message is formad=flowed set the encoded version as message content</em>
-<a name="148" href="#148">148</a> <em class="jxr_javadoccomment"> */</em>
-<a name="149" href="#149">149</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> deflowMessage(Message m) <strong class="jxr_keyword">throws</strong> MessagingException, IOException {
-<a name="150" href="#150">150</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType(m.getContentType());
-<a name="151" href="#151">151</a> String format = ct.getParameter(<span class="jxr_string">"format"</span>);
-<a name="152" href="#152">152</a> <strong class="jxr_keyword">if</strong> (ct.getBaseType().equals(<span class="jxr_string">"text/plain"</span>) && format != <strong class="jxr_keyword">null</strong> && format.equalsIgnoreCase(<span class="jxr_string">"flowed"</span>)) {
-<a name="153" href="#153">153</a> String delSp = ct.getParameter(<span class="jxr_string">"delsp"</span>);
-<a name="154" href="#154">154</a> String deflowed = deflow((String) m.getContent(), delSp != <strong class="jxr_keyword">null</strong> && delSp.equalsIgnoreCase(<span class="jxr_string">"yes"</span>));
-<a name="155" href="#155">155</a>
-<a name="156" href="#156">156</a> ct.getParameterList().remove(<span class="jxr_string">"format"</span>);
-<a name="157" href="#157">157</a> ct.getParameterList().remove(<span class="jxr_string">"delsp"</span>);
-<a name="158" href="#158">158</a>
-<a name="159" href="#159">159</a> <strong class="jxr_keyword">if</strong> (ct.toString().indexOf(<span class="jxr_string">"flowed"</span>) >= 0)
-<a name="160" href="#160">160</a> System.out.println(<span class="jxr_string">"\n\n*************************\n* ERROR!!! FlowedMessageUtils dind't remove the flowed correctly!\n******************\n\n"</span> + ct.toString() + <span class="jxr_string">" \n "</span> + ct.toString() + <span class="jxr_string">"\n"</span>);
-<a name="161" href="#161">161</a>
-<a name="162" href="#162">162</a> m.setContent(deflowed, ct.toString());
-<a name="163" href="#163">163</a> m.saveChanges();
-<a name="164" href="#164">164</a> }
-<a name="165" href="#165">165</a> }
-<a name="166" href="#166">166</a>
+<a name="147" href="#147">147</a> <em class="jxr_javadoccomment"> * If the message is <code>format=flowed</code> </em>
+<a name="148" href="#148">148</a> <em class="jxr_javadoccomment"> * set the encoded version as message content.</em>
+<a name="149" href="#149">149</a> <em class="jxr_javadoccomment"> */</em>
+<a name="150" href="#150">150</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> deflowMessage(Message m) <strong class="jxr_keyword">throws</strong> MessagingException, IOException {
+<a name="151" href="#151">151</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType(m.getContentType());
+<a name="152" href="#152">152</a> String format = ct.getParameter(<span class="jxr_string">"format"</span>);
+<a name="153" href="#153">153</a> <strong class="jxr_keyword">if</strong> (ct.getBaseType().equals(<span class="jxr_string">"text/plain"</span>) && format != <strong class="jxr_keyword">null</strong> && format.equalsIgnoreCase(<span class="jxr_string">"flowed"</span>)) {
+<a name="154" href="#154">154</a> String delSp = ct.getParameter(<span class="jxr_string">"delsp"</span>);
+<a name="155" href="#155">155</a> String deflowed = deflow((String) m.getContent(), delSp != <strong class="jxr_keyword">null</strong> && delSp.equalsIgnoreCase(<span class="jxr_string">"yes"</span>));
+<a name="156" href="#156">156</a>
+<a name="157" href="#157">157</a> ct.getParameterList().remove(<span class="jxr_string">"format"</span>);
+<a name="158" href="#158">158</a> ct.getParameterList().remove(<span class="jxr_string">"delsp"</span>);
+<a name="159" href="#159">159</a>
+<a name="160" href="#160">160</a> <strong class="jxr_keyword">if</strong> (ct.toString().indexOf(<span class="jxr_string">"flowed"</span>) >= 0)
+<a name="161" href="#161">161</a> System.out.println(<span class="jxr_string">"\n\n*************************\n* ERROR!!! FlowedMessageUtils dind't remove the flowed correctly!\n******************\n\n"</span> + ct.toString() + <span class="jxr_string">" \n "</span> + ct.toString() + <span class="jxr_string">"\n"</span>);
+<a name="162" href="#162">162</a>
+<a name="163" href="#163">163</a> m.setContent(deflowed, ct.toString());
+<a name="164" href="#164">164</a> m.saveChanges();
+<a name="165" href="#165">165</a> }
+<a name="166" href="#166">166</a> }
<a name="167" href="#167">167</a>
-<a name="168" href="#168">168</a> <em class="jxr_javadoccomment">/**</em>
-<a name="169" href="#169">169</a> <em class="jxr_javadoccomment"> * Encode a text (using standard with)</em>
-<a name="170" href="#170">170</a> <em class="jxr_javadoccomment"> */</em>
-<a name="171" href="#171">171</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> String flow(String text, <strong class="jxr_keyword">boolean</strong> delSp) {
-<a name="172" href="#172">172</a> <strong class="jxr_keyword">return</strong> flow(text, delSp, RFC2646_WIDTH);
-<a name="173" href="#173">173</a> }
-<a name="174" href="#174">174</a>
-<a name="175" href="#175">175</a> <em class="jxr_javadoccomment">/**</em>
-<a name="176" href="#176">176</a> <em class="jxr_javadoccomment"> * Decode a text</em>
-<a name="177" href="#177">177</a> <em class="jxr_javadoccomment"> */</em>
-<a name="178" href="#178">178</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> String flow(String text, <strong class="jxr_keyword">boolean</strong> delSp, <strong class="jxr_keyword">int</strong> width) {
-<a name="179" href="#179">179</a> StringBuffer result = <strong class="jxr_keyword">new</strong> StringBuffer();
-<a name="180" href="#180">180</a> String[] lines = text.split(<span class="jxr_string">"\r\n|\n"</span>, -1);
-<a name="181" href="#181">181</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < lines.length; i ++) {
-<a name="182" href="#182">182</a> String line = lines[i];
-<a name="183" href="#183">183</a> <strong class="jxr_keyword">boolean</strong> notempty = line.length() > 0;
-<a name="184" href="#184">184</a>
-<a name="185" href="#185">185</a> <strong class="jxr_keyword">int</strong> quoteDepth = 0;
-<a name="186" href="#186">186</a> <strong class="jxr_keyword">while</strong> (quoteDepth < line.length() && line.charAt(quoteDepth) == RFC2646_QUOTE) quoteDepth ++;
-<a name="187" href="#187">187</a> <strong class="jxr_keyword">if</strong> (quoteDepth > 0) {
-<a name="188" href="#188">188</a> <strong class="jxr_keyword">if</strong> (quoteDepth + 1 < line.length() && line.charAt(quoteDepth) == RFC2646_SPACE) line = line.substring(quoteDepth + 1);
-<a name="189" href="#189">189</a> <strong class="jxr_keyword">else</strong> line = line.substring(quoteDepth);
-<a name="190" href="#190">190</a> }
-<a name="191" href="#191">191</a>
-<a name="192" href="#192">192</a> <strong class="jxr_keyword">while</strong> (notempty) {
-<a name="193" href="#193">193</a> <strong class="jxr_keyword">int</strong> extra = 0;
-<a name="194" href="#194">194</a> <strong class="jxr_keyword">if</strong> (quoteDepth == 0) {
-<a name="195" href="#195">195</a> <strong class="jxr_keyword">if</strong> (line.startsWith(<span class="jxr_string">""</span> + RFC2646_SPACE) || line.startsWith(<span class="jxr_string">""</span> + RFC2646_QUOTE) || line.startsWith(RFC2646_FROM)) {
-<a name="196" href="#196">196</a> line = <span class="jxr_string">""</span> + RFC2646_SPACE + line;
-<a name="197" href="#197">197</a> extra = 1;
-<a name="198" href="#198">198</a> }
-<a name="199" href="#199">199</a> } <strong class="jxr_keyword">else</strong> {
-<a name="200" href="#200">200</a> line = RFC2646_SPACE + line;
-<a name="201" href="#201">201</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> j = 0; j < quoteDepth; j++) line = <span class="jxr_string">""</span> + RFC2646_QUOTE + line;
-<a name="202" href="#202">202</a> extra = quoteDepth + 1;
-<a name="203" href="#203">203</a> }
-<a name="204" href="#204">204</a>
-<a name="205" href="#205">205</a> <strong class="jxr_keyword">int</strong> j = width - 1;
-<a name="206" href="#206">206</a> <strong class="jxr_keyword">if</strong> (j >= line.length()) j = line.length() - 1;
-<a name="207" href="#207">207</a> <strong class="jxr_keyword">else</strong> {
-<a name="208" href="#208">208</a> <strong class="jxr_keyword">while</strong> (j >= extra && ((delSp && isAlphaChar(text, j)) || (!delSp && line.charAt(j) != RFC2646_SPACE))) j --;
-<a name="209" href="#209">209</a> <strong class="jxr_keyword">if</strong> (j < extra) {
-<a name="210" href="#210">210</a> <em class="jxr_comment">// Not able to cut a word: skip to word end even if greater than the max width</em>
-<a name="211" href="#211">211</a> j = width - 1;
-<a name="212" href="#212">212</a> <strong class="jxr_keyword">while</strong> (j < line.length() - 1 && ((delSp && isAlphaChar(text, j)) || (!delSp && line.charAt(j) != RFC2646_SPACE))) j ++;
-<a name="213" href="#213">213</a> }
-<a name="214" href="#214">214</a> }
-<a name="215" href="#215">215</a>
-<a name="216" href="#216">216</a> result.append(line.substring(0, j + 1));
-<a name="217" href="#217">217</a> <strong class="jxr_keyword">if</strong> (j < line.length() - 1) {
-<a name="218" href="#218">218</a> <strong class="jxr_keyword">if</strong> (delSp) result.append(RFC2646_SPACE);
-<a name="219" href="#219">219</a> result.append(RFC2646_CRLF);
-<a name="220" href="#220">220</a> }
-<a name="221" href="#221">221</a>
-<a name="222" href="#222">222</a> line = line.substring(j + 1);
-<a name="223" href="#223">223</a> notempty = line.length() > 0;
-<a name="224" href="#224">224</a> }
-<a name="225" href="#225">225</a>
-<a name="226" href="#226">226</a> <strong class="jxr_keyword">if</strong> (i < lines.length - 1) {
-<a name="227" href="#227">227</a> <em class="jxr_comment">// NOTE: Have to trim the spaces before, otherwise it won't recognize soft-break from hard break.</em>
-<a name="228" href="#228">228</a> <em class="jxr_comment">// Deflow of flowed message will not be identical to the original.</em>
-<a name="229" href="#229">229</a> <strong class="jxr_keyword">while</strong> (result.length() > 0 && result.charAt(result.length() - 1) == RFC2646_SPACE) result.deleteCharAt(result.length() - 1);
-<a name="230" href="#230">230</a> result.append(RFC2646_CRLF);
-<a name="231" href="#231">231</a> }
-<a name="232" href="#232">232</a> }
-<a name="233" href="#233">233</a>
-<a name="234" href="#234">234</a> <strong class="jxr_keyword">return</strong> result.toString();
-<a name="235" href="#235">235</a> }
-<a name="236" href="#236">236</a>
-<a name="237" href="#237">237</a> <em class="jxr_javadoccomment">/**</em>
-<a name="238" href="#238">238</a> <em class="jxr_javadoccomment"> * Encode the input text and sets it as the new message content</em>
-<a name="239" href="#239">239</a> <em class="jxr_javadoccomment"> */</em>
-<a name="240" href="#240">240</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setFlowedContent(Message m, String text, <strong class="jxr_keyword">boolean</strong> delSp) <strong class="jxr_keyword">throws</strong> MessagingException {
-<a name="241" href="#241">241</a> setFlowedContent(m, text, delSp, RFC2646_WIDTH, <strong class="jxr_keyword">true</strong>, <strong class="jxr_keyword">null</strong>);
-<a name="242" href="#242">242</a> }
-<a name="243" href="#243">243</a>
-<a name="244" href="#244">244</a> <em class="jxr_javadoccomment">/**</em>
-<a name="245" href="#245">245</a> <em class="jxr_javadoccomment"> * Encode the input text and sets it as the new message content</em>
-<a name="246" href="#246">246</a> <em class="jxr_javadoccomment"> */</em>
-<a name="247" href="#247">247</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setFlowedContent(Message m, String text, <strong class="jxr_keyword">boolean</strong> delSp, <strong class="jxr_keyword">int</strong> width, <strong class="jxr_keyword">boolean</strong> preserveCharset, String charset) <strong class="jxr_keyword">throws</strong> MessagingException {
-<a name="248" href="#248">248</a> String coded = flow(text, delSp, width);
-<a name="249" href="#249">249</a> <strong class="jxr_keyword">if</strong> (preserveCharset) {
-<a name="250" href="#250">250</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType(m.getContentType());
-<a name="251" href="#251">251</a> charset = ct.getParameter(<span class="jxr_string">"charset"</span>);
-<a name="252" href="#252">252</a> }
-<a name="253" href="#253">253</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType();
-<a name="254" href="#254">254</a> ct.setPrimaryType(<span class="jxr_string">"text"</span>);
-<a name="255" href="#255">255</a> ct.setSubType(<span class="jxr_string">"plain"</span>);
-<a name="256" href="#256">256</a> <strong class="jxr_keyword">if</strong> (charset != <strong class="jxr_keyword">null</strong>) ct.setParameter(<span class="jxr_string">"charset"</span>, charset);
-<a name="257" href="#257">257</a> ct.setParameter(<span class="jxr_string">"format"</span>, <span class="jxr_string">"flowed"</span>);
-<a name="258" href="#258">258</a> <strong class="jxr_keyword">if</strong> (delSp) ct.setParameter(<span class="jxr_string">"delsp"</span>, <span class="jxr_string">"yes"</span>);
-<a name="259" href="#259">259</a> m.setContent(coded, ct.toString());
-<a name="260" href="#260">260</a> m.saveChanges();
-<a name="261" href="#261">261</a> }
-<a name="262" href="#262">262</a>
-<a name="263" href="#263">263</a> <em class="jxr_javadoccomment">/**</em>
-<a name="264" href="#264">264</a> <em class="jxr_javadoccomment"> * Encode the message content (if text/plain).</em>
-<a name="265" href="#265">265</a> <em class="jxr_javadoccomment"> */</em>
-<a name="266" href="#266">266</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> flowMessage(Message m, <strong class="jxr_keyword">boolean</strong> delSp) <strong class="jxr_keyword">throws</strong> MessagingException, IOException {
-<a name="267" href="#267">267</a> flowMessage(m, delSp, RFC2646_WIDTH);
-<a name="268" href="#268">268</a> }
-<a name="269" href="#269">269</a>
-<a name="270" href="#270">270</a> <em class="jxr_javadoccomment">/**</em>
-<a name="271" href="#271">271</a> <em class="jxr_javadoccomment"> * Encode the message content (if text/plain).</em>
-<a name="272" href="#272">272</a> <em class="jxr_javadoccomment"> */</em>
-<a name="273" href="#273">273</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> flowMessage(Message m, <strong class="jxr_keyword">boolean</strong> delSp, <strong class="jxr_keyword">int</strong> width) <strong class="jxr_keyword">throws</strong> MessagingException, IOException {
-<a name="274" href="#274">274</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType(m.getContentType());
-<a name="275" href="#275">275</a> <strong class="jxr_keyword">if</strong> (!ct.getBaseType().equals(<span class="jxr_string">"text/plain"</span>)) <strong class="jxr_keyword">return</strong>;
-<a name="276" href="#276">276</a> String format = ct.getParameter(<span class="jxr_string">"format"</span>);
-<a name="277" href="#277">277</a> String text = format != <strong class="jxr_keyword">null</strong> && format.equals(<span class="jxr_string">"flowed"</span>) ? deflow(m) : (String) m.getContent();
-<a name="278" href="#278">278</a> String coded = flow(text, delSp, width);
-<a name="279" href="#279">279</a> ct.setParameter(<span class="jxr_string">"format"</span>, <span class="jxr_string">"flowed"</span>);
-<a name="280" href="#280">280</a> <strong class="jxr_keyword">if</strong> (delSp) ct.setParameter(<span class="jxr_string">"delsp"</span>, <span class="jxr_string">"yes"</span>);
-<a name="281" href="#281">281</a> m.setContent(coded, ct.toString());
-<a name="282" href="#282">282</a> m.saveChanges();
-<a name="283" href="#283">283</a> }
-<a name="284" href="#284">284</a>
-<a name="285" href="#285">285</a> <em class="jxr_javadoccomment">/**</em>
-<a name="286" href="#286">286</a> <em class="jxr_javadoccomment"> * Check wether the char is part of a word</em>
-<a name="287" href="#287">287</a> <em class="jxr_javadoccomment"> * <p>RFC assert a word cannot be splitted (even if the length is greater than the maximum length)</em>
-<a name="288" href="#288">288</a> <em class="jxr_javadoccomment"> */</em>
-<a name="289" href="#289">289</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isAlphaChar(String text, <strong class="jxr_keyword">int</strong> index) {
-<a name="290" href="#290">290</a> <em class="jxr_comment">// Note: a list of chars is available here:</em>
-<a name="291" href="#291">291</a> <em class="jxr_comment">// http://www.zvon.org/tmRFC/RFC2646/Output/index.html</em>
-<a name="292" href="#292">292</a> <strong class="jxr_keyword">char</strong> c = text.charAt(index);
-<a name="293" href="#293">293</a> <strong class="jxr_keyword">return</strong> (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9');
-<a name="294" href="#294">294</a> }
-<a name="295" href="#295">295</a>
-<a name="296" href="#296">296</a> <em class="jxr_javadoccomment">/**</em>
-<a name="297" href="#297">297</a> <em class="jxr_javadoccomment"> * Check wether the input message is formad=flowed</em>
-<a name="298" href="#298">298</a> <em class="jxr_javadoccomment"> */</em>
-<a name="299" href="#299">299</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isFlowedTextMessage(Message m) <strong class="jxr_keyword">throws</strong> MessagingException {
-<a name="300" href="#300">300</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType(m.getContentType());
-<a name="301" href="#301">301</a> String format = ct.getParameter(<span class="jxr_string">"format"</span>);
-<a name="302" href="#302">302</a> <strong class="jxr_keyword">return</strong> ct.getBaseType().equals(<span class="jxr_string">"text/plain"</span>) && format != <strong class="jxr_keyword">null</strong> && format.equalsIgnoreCase(<span class="jxr_string">"flowed"</span>);
-<a name="303" href="#303">303</a> }
-<a name="304" href="#304">304</a> }
+<a name="168" href="#168">168</a>
+<a name="169" href="#169">169</a> <em class="jxr_javadoccomment">/**</em>
+<a name="170" href="#170">170</a> <em class="jxr_javadoccomment"> * Encodes a text (using standard with).</em>
+<a name="171" href="#171">171</a> <em class="jxr_javadoccomment"> */</em>
+<a name="172" href="#172">172</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> String flow(String text, <strong class="jxr_keyword">boolean</strong> delSp) {
+<a name="173" href="#173">173</a> <strong class="jxr_keyword">return</strong> flow(text, delSp, RFC2646_WIDTH);
+<a name="174" href="#174">174</a> }
+<a name="175" href="#175">175</a>
+<a name="176" href="#176">176</a> <em class="jxr_javadoccomment">/**</em>
+<a name="177" href="#177">177</a> <em class="jxr_javadoccomment"> * Decodes a text.</em>
+<a name="178" href="#178">178</a> <em class="jxr_javadoccomment"> */</em>
+<a name="179" href="#179">179</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> String flow(String text, <strong class="jxr_keyword">boolean</strong> delSp, <strong class="jxr_keyword">int</strong> width) {
+<a name="180" href="#180">180</a> StringBuffer result = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a name="181" href="#181">181</a> String[] lines = text.split(<span class="jxr_string">"\r\n|\n"</span>, -1);
+<a name="182" href="#182">182</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < lines.length; i ++) {
+<a name="183" href="#183">183</a> String line = lines[i];
+<a name="184" href="#184">184</a> <strong class="jxr_keyword">boolean</strong> notempty = line.length() > 0;
+<a name="185" href="#185">185</a>
+<a name="186" href="#186">186</a> <strong class="jxr_keyword">int</strong> quoteDepth = 0;
+<a name="187" href="#187">187</a> <strong class="jxr_keyword">while</strong> (quoteDepth < line.length() && line.charAt(quoteDepth) == RFC2646_QUOTE) quoteDepth ++;
+<a name="188" href="#188">188</a> <strong class="jxr_keyword">if</strong> (quoteDepth > 0) {
+<a name="189" href="#189">189</a> <strong class="jxr_keyword">if</strong> (quoteDepth + 1 < line.length() && line.charAt(quoteDepth) == RFC2646_SPACE) line = line.substring(quoteDepth + 1);
+<a name="190" href="#190">190</a> <strong class="jxr_keyword">else</strong> line = line.substring(quoteDepth);
+<a name="191" href="#191">191</a> }
+<a name="192" href="#192">192</a>
+<a name="193" href="#193">193</a> <strong class="jxr_keyword">while</strong> (notempty) {
+<a name="194" href="#194">194</a> <strong class="jxr_keyword">int</strong> extra = 0;
+<a name="195" href="#195">195</a> <strong class="jxr_keyword">if</strong> (quoteDepth == 0) {
+<a name="196" href="#196">196</a> <strong class="jxr_keyword">if</strong> (line.startsWith(<span class="jxr_string">""</span> + RFC2646_SPACE) || line.startsWith(<span class="jxr_string">""</span> + RFC2646_QUOTE) || line.startsWith(RFC2646_FROM)) {
+<a name="197" href="#197">197</a> line = <span class="jxr_string">""</span> + RFC2646_SPACE + line;
+<a name="198" href="#198">198</a> extra = 1;
+<a name="199" href="#199">199</a> }
+<a name="200" href="#200">200</a> } <strong class="jxr_keyword">else</strong> {
+<a name="201" href="#201">201</a> line = RFC2646_SPACE + line;
+<a name="202" href="#202">202</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> j = 0; j < quoteDepth; j++) line = <span class="jxr_string">""</span> + RFC2646_QUOTE + line;
+<a name="203" href="#203">203</a> extra = quoteDepth + 1;
+<a name="204" href="#204">204</a> }
+<a name="205" href="#205">205</a>
+<a name="206" href="#206">206</a> <strong class="jxr_keyword">int</strong> j = width - 1;
+<a name="207" href="#207">207</a> <strong class="jxr_keyword">if</strong> (j >= line.length()) j = line.length() - 1;
+<a name="208" href="#208">208</a> <strong class="jxr_keyword">else</strong> {
+<a name="209" href="#209">209</a> <strong class="jxr_keyword">while</strong> (j >= extra && ((delSp && isAlphaChar(text, j)) || (!delSp && line.charAt(j) != RFC2646_SPACE))) j --;
+<a name="210" href="#210">210</a> <strong class="jxr_keyword">if</strong> (j < extra) {
+<a name="211" href="#211">211</a> <em class="jxr_comment">// Not able to cut a word: skip to word end even if greater than the max width</em>
+<a name="212" href="#212">212</a> j = width - 1;
+<a name="213" href="#213">213</a> <strong class="jxr_keyword">while</strong> (j < line.length() - 1 && ((delSp && isAlphaChar(text, j)) || (!delSp && line.charAt(j) != RFC2646_SPACE))) j ++;
+<a name="214" href="#214">214</a> }
+<a name="215" href="#215">215</a> }
+<a name="216" href="#216">216</a>
+<a name="217" href="#217">217</a> result.append(line.substring(0, j + 1));
+<a name="218" href="#218">218</a> <strong class="jxr_keyword">if</strong> (j < line.length() - 1) {
+<a name="219" href="#219">219</a> <strong class="jxr_keyword">if</strong> (delSp) result.append(RFC2646_SPACE);
+<a name="220" href="#220">220</a> result.append(RFC2646_CRLF);
+<a name="221" href="#221">221</a> }
+<a name="222" href="#222">222</a>
+<a name="223" href="#223">223</a> line = line.substring(j + 1);
+<a name="224" href="#224">224</a> notempty = line.length() > 0;
+<a name="225" href="#225">225</a> }
+<a name="226" href="#226">226</a>
+<a name="227" href="#227">227</a> <strong class="jxr_keyword">if</strong> (i < lines.length - 1) {
+<a name="228" href="#228">228</a> <em class="jxr_comment">// NOTE: Have to trim the spaces before, otherwise it won't recognize soft-break from hard break.</em>
+<a name="229" href="#229">229</a> <em class="jxr_comment">// Deflow of flowed message will not be identical to the original.</em>
+<a name="230" href="#230">230</a> <strong class="jxr_keyword">while</strong> (result.length() > 0 && result.charAt(result.length() - 1) == RFC2646_SPACE) result.deleteCharAt(result.length() - 1);
+<a name="231" href="#231">231</a> result.append(RFC2646_CRLF);
+<a name="232" href="#232">232</a> }
+<a name="233" href="#233">233</a> }
+<a name="234" href="#234">234</a>
+<a name="235" href="#235">235</a> <strong class="jxr_keyword">return</strong> result.toString();
+<a name="236" href="#236">236</a> }
+<a name="237" href="#237">237</a>
+<a name="238" href="#238">238</a> <em class="jxr_javadoccomment">/**</em>
+<a name="239" href="#239">239</a> <em class="jxr_javadoccomment"> * Encodes the input text and sets it as the new message content.</em>
+<a name="240" href="#240">240</a> <em class="jxr_javadoccomment"> */</em>
+<a name="241" href="#241">241</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setFlowedContent(Message m, String text, <strong class="jxr_keyword">boolean</strong> delSp) <strong class="jxr_keyword">throws</strong> MessagingException {
+<a name="242" href="#242">242</a> setFlowedContent(m, text, delSp, RFC2646_WIDTH, <strong class="jxr_keyword">true</strong>, <strong class="jxr_keyword">null</strong>);
+<a name="243" href="#243">243</a> }
+<a name="244" href="#244">244</a>
+<a name="245" href="#245">245</a> <em class="jxr_javadoccomment">/**</em>
+<a name="246" href="#246">246</a> <em class="jxr_javadoccomment"> * Encodes the input text and sets it as the new message content.</em>
+<a name="247" href="#247">247</a> <em class="jxr_javadoccomment"> */</em>
+<a name="248" href="#248">248</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> setFlowedContent(Message m, String text, <strong class="jxr_keyword">boolean</strong> delSp, <strong class="jxr_keyword">int</strong> width, <strong class="jxr_keyword">boolean</strong> preserveCharset, String charset) <strong class="jxr_keyword">throws</strong> MessagingException {
+<a name="249" href="#249">249</a> String coded = flow(text, delSp, width);
+<a name="250" href="#250">250</a> <strong class="jxr_keyword">if</strong> (preserveCharset) {
+<a name="251" href="#251">251</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType(m.getContentType());
+<a name="252" href="#252">252</a> charset = ct.getParameter(<span class="jxr_string">"charset"</span>);
+<a name="253" href="#253">253</a> }
+<a name="254" href="#254">254</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType();
+<a name="255" href="#255">255</a> ct.setPrimaryType(<span class="jxr_string">"text"</span>);
+<a name="256" href="#256">256</a> ct.setSubType(<span class="jxr_string">"plain"</span>);
+<a name="257" href="#257">257</a> <strong class="jxr_keyword">if</strong> (charset != <strong class="jxr_keyword">null</strong>) ct.setParameter(<span class="jxr_string">"charset"</span>, charset);
+<a name="258" href="#258">258</a> ct.setParameter(<span class="jxr_string">"format"</span>, <span class="jxr_string">"flowed"</span>);
+<a name="259" href="#259">259</a> <strong class="jxr_keyword">if</strong> (delSp) ct.setParameter(<span class="jxr_string">"delsp"</span>, <span class="jxr_string">"yes"</span>);
+<a name="260" href="#260">260</a> m.setContent(coded, ct.toString());
+<a name="261" href="#261">261</a> m.saveChanges();
+<a name="262" href="#262">262</a> }
+<a name="263" href="#263">263</a>
+<a name="264" href="#264">264</a> <em class="jxr_javadoccomment">/**</em>
+<a name="265" href="#265">265</a> <em class="jxr_javadoccomment"> * Encodes the message content (if text/plain).</em>
+<a name="266" href="#266">266</a> <em class="jxr_javadoccomment"> */</em>
+<a name="267" href="#267">267</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> flowMessage(Message m, <strong class="jxr_keyword">boolean</strong> delSp) <strong class="jxr_keyword">throws</strong> MessagingException, IOException {
+<a name="268" href="#268">268</a> flowMessage(m, delSp, RFC2646_WIDTH);
+<a name="269" href="#269">269</a> }
+<a name="270" href="#270">270</a>
+<a name="271" href="#271">271</a> <em class="jxr_javadoccomment">/**</em>
+<a name="272" href="#272">272</a> <em class="jxr_javadoccomment"> * Encodes the message content (if text/plain).</em>
+<a name="273" href="#273">273</a> <em class="jxr_javadoccomment"> */</em>
+<a name="274" href="#274">274</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> flowMessage(Message m, <strong class="jxr_keyword">boolean</strong> delSp, <strong class="jxr_keyword">int</strong> width) <strong class="jxr_keyword">throws</strong> MessagingException, IOException {
+<a name="275" href="#275">275</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType(m.getContentType());
+<a name="276" href="#276">276</a> <strong class="jxr_keyword">if</strong> (!ct.getBaseType().equals(<span class="jxr_string">"text/plain"</span>)) <strong class="jxr_keyword">return</strong>;
+<a name="277" href="#277">277</a> String format = ct.getParameter(<span class="jxr_string">"format"</span>);
+<a name="278" href="#278">278</a> String text = format != <strong class="jxr_keyword">null</strong> && format.equals(<span class="jxr_string">"flowed"</span>) ? deflow(m) : (String) m.getContent();
+<a name="279" href="#279">279</a> String coded = flow(text, delSp, width);
+<a name="280" href="#280">280</a> ct.setParameter(<span class="jxr_string">"format"</span>, <span class="jxr_string">"flowed"</span>);
+<a name="281" href="#281">281</a> <strong class="jxr_keyword">if</strong> (delSp) ct.setParameter(<span class="jxr_string">"delsp"</span>, <span class="jxr_string">"yes"</span>);
+<a name="282" href="#282">282</a> m.setContent(coded, ct.toString());
+<a name="283" href="#283">283</a> m.saveChanges();
+<a name="284" href="#284">284</a> }
+<a name="285" href="#285">285</a>
+<a name="286" href="#286">286</a> <em class="jxr_javadoccomment">/**</em>
+<a name="287" href="#287">287</a> <em class="jxr_javadoccomment"> * Checks whether the char is part of a word.</em>
+<a name="288" href="#288">288</a> <em class="jxr_javadoccomment"> * <p>RFC assert a word cannot be splitted (even if the length is greater than the maximum length).</em>
+<a name="289" href="#289">289</a> <em class="jxr_javadoccomment"> */</em>
+<a name="290" href="#290">290</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isAlphaChar(String text, <strong class="jxr_keyword">int</strong> index) {
+<a name="291" href="#291">291</a> <em class="jxr_comment">// Note: a list of chars is available here:</em>
+<a name="292" href="#292">292</a> <em class="jxr_comment">// http://www.zvon.org/tmRFC/RFC2646/Output/index.html</em>
+<a name="293" href="#293">293</a> <strong class="jxr_keyword">char</strong> c = text.charAt(index);
+<a name="294" href="#294">294</a> <strong class="jxr_keyword">return</strong> (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || (c >= '0' && c <= '9');
+<a name="295" href="#295">295</a> }
+<a name="296" href="#296">296</a>
+<a name="297" href="#297">297</a> <em class="jxr_javadoccomment">/**</em>
+<a name="298" href="#298">298</a> <em class="jxr_javadoccomment"> * Checks whether the input message is <code>format=flowed</code>.</em>
+<a name="299" href="#299">299</a> <em class="jxr_javadoccomment"> */</em>
+<a name="300" href="#300">300</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">boolean</strong> isFlowedTextMessage(Message m) <strong class="jxr_keyword">throws</strong> MessagingException {
+<a name="301" href="#301">301</a> ContentType ct = <strong class="jxr_keyword">new</strong> ContentType(m.getContentType());
+<a name="302" href="#302">302</a> String format = ct.getParameter(<span class="jxr_string">"format"</span>);
+<a name="303" href="#303">303</a> <strong class="jxr_keyword">return</strong> ct.getBaseType().equals(<span class="jxr_string">"text/plain"</span>) && format != <strong class="jxr_keyword">null</strong> && format.equalsIgnoreCase(<span class="jxr_string">"flowed"</span>);
+<a name="304" href="#304">304</a> }
+<a name="305" href="#305">305</a> }
</pre>
<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
</html>
Modified: james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/GenericMailet.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/GenericMailet.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/GenericMailet.html (original)
+++ james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/GenericMailet.html Sat Feb 21 12:39:39 2009
@@ -74,7 +74,7 @@
<a name="64" href="#64">64</a> <em class="jxr_javadoccomment"> * @return true when the init parameter is <code>true</code> (ignoring case);</em>
<a name="65" href="#65">65</a> <em class="jxr_javadoccomment"> * false when the init parameter is <code>false</code> (ignoring case);</em>
<a name="66" href="#66">66</a> <em class="jxr_javadoccomment"> * otherwise the default value</em>
-<a name="67" href="#67">67</a> <em class="jxr_javadoccomment"> * @throws NullPointerException when {@link #config} is unset</em>
+<a name="67" href="#67">67</a> <em class="jxr_javadoccomment"> * @throws NullPointerException before {@link #init(MailetConfig)}</em>
<a name="68" href="#68">68</a> <em class="jxr_javadoccomment"> */</em>
<a name="69" href="#69">69</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> getInitParameter(String name, <strong class="jxr_keyword">boolean</strong> defaultValue) {
<a name="70" href="#70">70</a> <strong class="jxr_keyword">if</strong> (config == <strong class="jxr_keyword">null</strong>) {
Modified: james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/StringUtils.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/StringUtils.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/StringUtils.html (original)
+++ james/site/trunk/www/mailet/base/xref/org/apache/mailet/base/StringUtils.html Sat Feb 21 12:39:39 2009
@@ -43,11 +43,11 @@
<a name="33" href="#33">33</a> }
<a name="34" href="#34">34</a>
<a name="35" href="#35">35</a> <em class="jxr_javadoccomment">/**</em>
-<a name="36" href="#36">36</a> <em class="jxr_javadoccomment"> * Split a string given a pattern (regex), considering escapes</em>
-<a name="37" href="#37">37</a> <em class="jxr_javadoccomment"> * <p> E.g: considering a pattern "," we have:</em>
+<a name="36" href="#36">36</a> <em class="jxr_javadoccomment"> * Splits a string given a pattern (regex), considering escapes.</em>
+<a name="37" href="#37">37</a> <em class="jxr_javadoccomment"> * <p> For example considering a pattern "," we have:</em>
<a name="38" href="#38">38</a> <em class="jxr_javadoccomment"> * one,two,three => {one},{two},{three}</em>
<a name="39" href="#39">39</a> <em class="jxr_javadoccomment"> * one\,two\\,three => {one,two\\},{three}</em>
-<a name="40" href="#40">40</a> <em class="jxr_javadoccomment"> *</em>
+<a name="40" href="#40">40</a> <em class="jxr_javadoccomment"> * <p></em>
<a name="41" href="#41">41</a> <em class="jxr_javadoccomment"> * NOTE: Untested with pattern regex as pattern and untested for escape chars in text or pattern.</em>
<a name="42" href="#42">42</a> <em class="jxr_javadoccomment"> */</em>
<a name="43" href="#43">43</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> String[] split(String text, String pattern) {
Modified: james/site/trunk/www/mailet/crypto/apidocs/allclasses-frame.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/crypto/apidocs/allclasses-frame.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/crypto/apidocs/allclasses-frame.html (original)
+++ james/site/trunk/www/mailet/crypto/apidocs/allclasses-frame.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:28:31 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:19:48 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
All Classes (Apache JAMES Crypto Mailets 1.0-SNAPSHOT API)
Modified: james/site/trunk/www/mailet/crypto/apidocs/allclasses-noframe.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/crypto/apidocs/allclasses-noframe.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/crypto/apidocs/allclasses-noframe.html (original)
+++ james/site/trunk/www/mailet/crypto/apidocs/allclasses-noframe.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:28:31 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:19:48 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
All Classes (Apache JAMES Crypto Mailets 1.0-SNAPSHOT API)
Modified: james/site/trunk/www/mailet/crypto/apidocs/constant-values.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/crypto/apidocs/constant-values.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/crypto/apidocs/constant-values.html (original)
+++ james/site/trunk/www/mailet/crypto/apidocs/constant-values.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:28:31 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:19:47 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Constant Field Values (Apache JAMES Crypto Mailets 1.0-SNAPSHOT API)
Modified: james/site/trunk/www/mailet/crypto/apidocs/deprecated-list.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/crypto/apidocs/deprecated-list.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/crypto/apidocs/deprecated-list.html (original)
+++ james/site/trunk/www/mailet/crypto/apidocs/deprecated-list.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:28:31 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:19:48 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
Deprecated List (Apache JAMES Crypto Mailets 1.0-SNAPSHOT API)
Modified: james/site/trunk/www/mailet/crypto/apidocs/help-doc.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/crypto/apidocs/help-doc.html?rev=746496&r1=746495&r2=746496&view=diff
==============================================================================
--- james/site/trunk/www/mailet/crypto/apidocs/help-doc.html (original)
+++ james/site/trunk/www/mailet/crypto/apidocs/help-doc.html Sat Feb 21 12:39:39 2009
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 14 11:28:31 GMT 2009 -->
+<!-- Generated by javadoc (build 1.5.0_17) on Sat Feb 21 12:19:48 GMT 2009 -->
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<TITLE>
API Help (Apache JAMES Crypto Mailets 1.0-SNAPSHOT API)