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/08 15:02:54 UTC
svn commit: r742095 [7/8] - in
/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1:
./ apidocs/ apidocs/org/ apidocs/org/apache/ apidocs/org/apache/james/
apidocs/org/apache/james/mailet/ apidocs/org/apache/james/mailet/cla...
Added: james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/taglist.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/taglist.html?rev=742095&view=auto
==============================================================================
--- james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/taglist.html (added)
+++ james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/taglist.html Sun Feb 8 14:02:52 2009
@@ -0,0 +1,273 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title>Apache JAMES MailetDocs Maven Plugin - Tag List report</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://james.apache.org/mailet/index.html" id="bannerLeft">
+
+ <img src="images/james-mailetdocs-logo.gif" alt="" />
+
+ </a>
+ <a href="http://www.apache.org/index.html" id="bannerRight">
+
+ <img src="images/asf-logo-reduced.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+ <div class="xleft">
+ Last Published: 02/08/2009
+ </div>
+ <div class="xright"> <a href="../../index.html">JAMES Project</a>
+ |
+ <a href="../../server/index.html">Server</a>
+ |
+ <a href="../../mailet/index.html">Mailets</a>
+ |
+ <a href="../../jspf/index.html">jSPF</a>
+ |
+ <a href="../../mime4j/index.html">Mime4J</a>
+ |
+ <a href="../../jsieve/index.html">JSieve</a>
+ |
+ <a href="../../postage/index.html">Postage</a>
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+ <h5>MailetDocs Maven Plugin</h5>
+ <ul>
+
+ <li class="none">
+ <a href="index.html">Introduction</a>
+ </li>
+
+ <li class="none">
+ <a href="plugin-info.html">Goals</a>
+ </li>
+
+ <li class="none">
+ <a href="usage.html">Usage</a>
+ </li>
+
+ <li class="none">
+ <a href="release-notes.html">Release Notes</a>
+ </li>
+
+ <li class="none">
+ <a href="doap_maven-mailetdocs-plugin.rdf">DOAP</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+
+ <li class="none">
+ <a href="examples/standard.html">Large Catalog</a>
+ </li>
+ </ul>
+ <h5>Mailet</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/api">API</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/base">Basic Toolkit</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/crypto">Crypto</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/jsieve/mailet/index.html">Sieve</a>
+ </li>
+
+ <li class="none">
+ <a href="">MailetDocs</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/standard">Standard</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="expanded">
+ <a href="project-reports.html">Project Reports</a>
+ <ul>
+
+ <li class="none">
+ <a href="apidocs/index.html">JavaDocs</a>
+ </li>
+
+ <li class="none">
+ <a href="plugin-info.html">Plugin documentation</a>
+ </li>
+
+ <li class="none">
+ <a href="rat-report.html">RAT Report</a>
+ </li>
+
+ <li class="none">
+ <a href="xref/index.html">Source Xref</a>
+ </li>
+
+ <li class="none">
+ <a href="surefire-report.html">Surefire Report</a>
+ </li>
+
+ <li class="none">
+ <strong>Tag List</strong>
+ </li>
+ </ul>
+ </li>
+ </ul>
+ <h5>Downloads</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../download.cgi">Stable releases</a>
+ </li>
+
+ <li class="none">
+ <a href="../../downloadunstable.cgi">Unstable releases</a>
+ </li>
+
+ <li class="none">
+ <a href="http://people.apache.org/builds/james/nightly/">Nightly builds</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
+ <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2>Tag List Report</h2><p>The following document contains the listing of user tags found in the code. Below is the summary of the occurrences per tag.</p><table class="bodyTable"><tr class="a"><th>Tag</th><th>Total number of occurrences</th></tr><tr class="b"><td>@todo</td><td>0</td></tr><tr class="a"><td>TODO</td><td>0</td></tr></table><p>Each tag is detailed below:</p></div>
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2008-2009
+
+ The Apache Software Foundation
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1384591-1";
+ urchinTracker();
+ </script>
+ </body>
+</html>
Added: james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/team-list.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/team-list.html?rev=742095&view=auto
==============================================================================
--- james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/team-list.html (added)
+++ james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/team-list.html Sun Feb 8 14:02:52 2009
@@ -0,0 +1,307 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title>Apache JAMES MailetDocs Maven Plugin - Team list</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://james.apache.org/mailet/index.html" id="bannerLeft">
+
+ <img src="images/james-mailetdocs-logo.gif" alt="" />
+
+ </a>
+ <a href="http://www.apache.org/index.html" id="bannerRight">
+
+ <img src="images/asf-logo-reduced.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+ <div class="xleft">
+ Last Published: 02/08/2009
+ </div>
+ <div class="xright"> <a href="../../index.html">JAMES Project</a>
+ |
+ <a href="../../server/index.html">Server</a>
+ |
+ <a href="../../mailet/index.html">Mailets</a>
+ |
+ <a href="../../jspf/index.html">jSPF</a>
+ |
+ <a href="../../mime4j/index.html">Mime4J</a>
+ |
+ <a href="../../jsieve/index.html">JSieve</a>
+ |
+ <a href="../../postage/index.html">Postage</a>
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+ <h5>MailetDocs Maven Plugin</h5>
+ <ul>
+
+ <li class="none">
+ <a href="index.html">Introduction</a>
+ </li>
+
+ <li class="none">
+ <a href="plugin-info.html">Goals</a>
+ </li>
+
+ <li class="none">
+ <a href="usage.html">Usage</a>
+ </li>
+
+ <li class="none">
+ <a href="release-notes.html">Release Notes</a>
+ </li>
+
+ <li class="none">
+ <a href="doap_maven-mailetdocs-plugin.rdf">DOAP</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+
+ <li class="none">
+ <a href="examples/standard.html">Large Catalog</a>
+ </li>
+ </ul>
+ <h5>Mailet</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/api">API</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/base">Basic Toolkit</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/crypto">Crypto</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/jsieve/mailet/index.html">Sieve</a>
+ </li>
+
+ <li class="none">
+ <a href="">MailetDocs</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/standard">Standard</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="expanded">
+ <a href="project-info.html">Project Information</a>
+ <ul>
+
+ <li class="none">
+ <a href="integration.html">Continuous Integration</a>
+ </li>
+
+ <li class="none">
+ <a href="dependencies.html">Dependencies</a>
+ </li>
+
+ <li class="none">
+ <a href="issue-tracking.html">Issue Tracking</a>
+ </li>
+
+ <li class="none">
+ <a href="mail-lists.html">Mailing Lists</a>
+ </li>
+
+ <li class="none">
+ <a href="plugin-management.html">Plugin Management</a>
+ </li>
+
+ <li class="none">
+ <a href="license.html">Project License</a>
+ </li>
+
+ <li class="none">
+ <a href="plugins.html">Project Plugins</a>
+ </li>
+
+ <li class="none">
+ <a href="project-summary.html">Project Summary</a>
+ </li>
+
+ <li class="none">
+ <strong>Project Team</strong>
+ </li>
+
+ <li class="none">
+ <a href="source-repository.html">Source Repository</a>
+ </li>
+ </ul>
+ </li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Downloads</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../download.cgi">Stable releases</a>
+ </li>
+
+ <li class="none">
+ <a href="../../downloadunstable.cgi">Unstable releases</a>
+ </li>
+
+ <li class="none">
+ <a href="http://people.apache.org/builds/james/nightly/">Nightly builds</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
+ <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2>The Team</h2><p>A successful project requires many people to play many roles. Some members write code or documentation, while others are valuable as testers, submitting patches and suggestions.</p><p>The team is comprised of Members and Contributors. Members have direct access to the source of a project and actively evolve the code-base. Contributors improve the project through submission of patches and suggestions to the Members. The number of Contributors to the project is unbounded. Get involved today. All contributions to the project are greatly appreciated.</p><div class="section"><h3>Members</h3><p>The following is a list of developers with commit privileges that have directly contributed to the project in one way or another.</p><table class="bodyTable"><tr class="a"><th>Id</th><th>Name</th><th>Email</th><th>Organization</th><th>Roles</th><th>Time Zone</th><th>Actual Time (GMT)</th><th>Properties</th></tr><tr class="b"><td><a name="bago
"></a>bago</td><td>Stefano Bagnara</td><td>bago at apache.org</td><td>-</td><td>Developer</td><td>2</td><td><span id="developer-0">2</span></td><td>-</td></tr><tr class="a"><td><a name="norman"></a>norman</td><td>Norman Maurer</td><td>norman at apache.org</td><td>-</td><td>Developer</td><td>2</td><td><span id="developer-1">2</span></td><td>-</td></tr><tr class="b"><td><a name="serge"></a>serge</td><td>Serge Knystautas</td><td>sergek at lokitech.com</td><td>-</td><td>Developer</td><td>-</td><td><span id="developer-2">-</span></td><td>-</td></tr><tr class="a"><td><a name="benrdf"></a>benrdf</td><td>Bernd Fondermann</td><td>bf_jak at brainlounge.de</td><td>-</td><td>Developer</td><td>-</td><td><span id="developer-3">-</span></td><td>-</td></tr><tr class="b"><td><a name="sbrewin"></a>sbrewin</td><td>Steve Brewin</td><td>sbrewin at synsys.com</td><td>-</td><td>Developer</td><td>-</td><td><span id="developer-4">-</span></td><td>-</td></tr><tr class="a"><td><a name="hilmer"></a>hil
mer</td><td>Soren Hilmer</td><td>sh at widetrail.dk</td><td>-</td><td>Developer</td><td>-</td><td><span id="developer-5">-</span></td><td>-</td></tr><tr class="b"><td><a name="noel"></a>noel</td><td>Noel J. Bergman</td><td>noel at devtech.com</td><td>-</td><td>Developer</td><td>-</td><td><span id="developer-6">-</span></td><td>-</td></tr><tr class="a"><td><a name="danny"></a>danny</td><td>Danny Angus</td><td>danny at apache.org</td><td>-</td><td>Developer</td><td>-</td><td><span id="developer-7">-</span></td><td>-</td></tr><tr class="b"><td><a name="adc"></a>adc</td><td>Alan D. Cabrera</td><td>list at toolazydogs.com</td><td>-</td><td>Developer</td><td>-8</td><td><span id="developer-8">-8</span></td><td>-</td></tr><tr class="a"><td><a name="vincenzo"></a>vincenzo</td><td>Vincenzo Gianferrari Pini</td><td>vincenzo.gianferraripini at praxis.it</td><td>-</td><td>Developer</td><td>-</td><td><span id="developer-9">-</span></td><td>-</td></tr><tr class="b"><td><a name="rdonkin"></
a>rdonkin</td><td>Robert Burrell Donkin</td><td>rdonkin at apache.org</td><td>-</td><td>Developer</td><td>-</td><td><span id="developer-10">-</span></td><td>-</td></tr><tr class="a"><td><a name="niklas"></a>niklas</td><td>Niklas Therning</td><td>niklas(at)apache(dot)org</td><td>Trillian AB</td><td>-</td><td>-</td><td><span id="developer-11">-</span></td><td>-</td></tr><tr class="b"><td><a name="jcheng"></a>jcheng</td><td>Joe Cheng</td><td>joe(at)joecheng(dot)com</td><td>-</td><td>-</td><td>-</td><td><span id="developer-12">-</span></td><td>description=Former author to the mime4j product</td></tr></table></div><div class="section"><h3>Contributors</h3><p>The following additional people have contributed to this project through the way of suggestions, patches or documentation.</p><table class="bodyTable"><tr class="a"><th>Name</th><th>Properties</th></tr><tr class="b"><td>Rob Oxspring</td><td>description=Contributed to the mime4j product</td></tr><tr class="a"><td>Roger Fullert
on</td><td>description=Wrote spfjava, the first spf implementation in java</td></tr></table></div></div><script type="text/javascript">
+function offsetDate(id, offset) {
+ var now = new Date();
+ var nowTime = now.getTime();
+ var localOffset = now.getTimezoneOffset();
+ var developerTime = nowTime + ( offset * 60 * 60 * 1000 )+ ( localOffset * 60 * 1000 );
+ var developerDate = new Date(developerTime);
+
+ document.getElementById(id).innerHTML = developerDate;
+}
+
+function init(){
+ offsetDate('developer-0', '2');
+ offsetDate('developer-1', '2');
+ offsetDate('developer-8', '-8');
+}
+
+window.onLoad = init();
+</script>
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2008-2009
+
+ The Apache Software Foundation
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1384591-1";
+ urchinTracker();
+ </script>
+ </body>
+</html>
Added: james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/usage.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/usage.html?rev=742095&view=auto
==============================================================================
--- james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/usage.html (added)
+++ james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/usage.html Sun Feb 8 14:02:52 2009
@@ -0,0 +1,258 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+
+
+
+
+
+
+
+
+
+
+<html>
+ <head>
+ <title>Apache JAMES MailetDocs Maven Plugin - Usage</title>
+ <style type="text/css" media="all">
+ @import url("./css/maven-base.css");
+ @import url("./css/maven-theme.css");
+ @import url("./css/site.css");
+ </style>
+ <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" />
+ <meta name="author" content="Apache JAMES Project Team" />
+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
+ </head>
+ <body class="composite">
+ <div id="banner">
+ <a href="http://james.apache.org/mailet/index.html" id="bannerLeft">
+
+ <img src="images/james-mailetdocs-logo.gif" alt="" />
+
+ </a>
+ <a href="http://www.apache.org/index.html" id="bannerRight">
+
+ <img src="images/asf-logo-reduced.gif" alt="" />
+
+ </a>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="breadcrumbs">
+
+
+
+
+
+
+
+ <div class="xleft">
+ Last Published: 02/08/2009
+ </div>
+ <div class="xright"> <a href="../../index.html">JAMES Project</a>
+ |
+ <a href="../../server/index.html">Server</a>
+ |
+ <a href="../../mailet/index.html">Mailets</a>
+ |
+ <a href="../../jspf/index.html">jSPF</a>
+ |
+ <a href="../../mime4j/index.html">Mime4J</a>
+ |
+ <a href="../../jsieve/index.html">JSieve</a>
+ |
+ <a href="../../postage/index.html">Postage</a>
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <div id="leftColumn">
+ <div id="navcolumn">
+
+
+
+
+
+
+
+ <h5>MailetDocs Maven Plugin</h5>
+ <ul>
+
+ <li class="none">
+ <a href="index.html">Introduction</a>
+ </li>
+
+ <li class="none">
+ <a href="plugin-info.html">Goals</a>
+ </li>
+
+ <li class="none">
+ <strong>Usage</strong>
+ </li>
+
+ <li class="none">
+ <a href="release-notes.html">Release Notes</a>
+ </li>
+
+ <li class="none">
+ <a href="doap_maven-mailetdocs-plugin.rdf">DOAP</a>
+ </li>
+ </ul>
+ <h5>Examples</h5>
+ <ul>
+
+ <li class="none">
+ <a href="examples/standard.html">Large Catalog</a>
+ </li>
+ </ul>
+ <h5>Mailet</h5>
+ <ul>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/api">API</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/base">Basic Toolkit</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/crypto">Crypto</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/jsieve/mailet/index.html">Sieve</a>
+ </li>
+
+ <li class="none">
+ <a href="">MailetDocs</a>
+ </li>
+
+ <li class="none">
+ <a href="http://james.apache.org/mailet/standard">Standard</a>
+ </li>
+ </ul>
+ <h5>Project Documentation</h5>
+ <ul>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="project-info.html">Project Information</a>
+ </li>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ <li class="collapsed">
+ <a href="project-reports.html">Project Reports</a>
+ </li>
+ </ul>
+ <h5>Downloads</h5>
+ <ul>
+
+ <li class="none">
+ <a href="../../download.cgi">Stable releases</a>
+ </li>
+
+ <li class="none">
+ <a href="../../downloadunstable.cgi">Unstable releases</a>
+ </li>
+
+ <li class="none">
+ <a href="http://people.apache.org/builds/james/nightly/">Nightly builds</a>
+ </li>
+ </ul>
+ <a href="http://maven.apache.org/" title="Built by Maven" id="poweredBy">
+ <img alt="Built by Maven" src="./images/logos/maven-feather.png"></img>
+ </a>
+
+
+
+
+
+
+
+ </div>
+ </div>
+ <div id="bodyColumn">
+ <div id="contentBox">
+ <div class="section"><h2>Usage</h2><p>The MailetDocs plugin for <a href="http://maven.apache.org"> Maven2</a> finds all mailets and matchers (as defined by the <a href="http://james.apache.org/mailet/api"> Mailet API</a>). It generates reports on each and then combines all into a single catalog.</p><div class="section"><h3>The <tt>mailetdocs:mailetdocs</tt> Goal</h3><p>To include the generated documentation, this should be included in the reports generated for a project:</p><div class="source"><pre> <reporting>
+ ...
+ <plugins>
+ <plugin>
+ <groupId>org.apache.james</groupId>
+ <artifactId>maven-mailetdocs-plugin</artifactId>
+ <version>0.1</version>
+ </plugin>
+ ...
+ </plugins>
+ </reporting></pre></div></div></div>
+ </div>
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ <div id="footer">
+ <div class="xright">©
+ 2008-2009
+
+ The Apache Software Foundation
+
+
+
+
+
+
+
+ </div>
+ <div class="clear">
+ <hr/>
+ </div>
+ </div>
+ <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
+ </script>
+ <script type="text/javascript">
+ _uacct = "UA-1384591-1";
+ urchinTracker();
+ </script>
+ </body>
+</html>
Added: james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/allclasses-frame.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/allclasses-frame.html?rev=742095&view=auto
==============================================================================
--- james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/allclasses-frame.html (added)
+++ james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/allclasses-frame.html Sun Feb 8 14:02:52 2009
@@ -0,0 +1,35 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+ <title>All Classes</title>
+ <link rel="stylesheet" type="text/css" href="stylesheet.css" title="style" />
+ </head>
+ <body>
+
+ <h3>All Classes</h3>
+
+ <ul>
+ <li>
+ <a href="org/apache/james/mailet/DefaultDescriptorsExtractor.html" target="classFrame">DefaultDescriptorsExtractor</a>
+ </li>
+ <li>
+ <a href="org/apache/james/mailet/DescriptorsExtractor.html" target="classFrame">DescriptorsExtractor</a>
+ </li>
+ <li>
+ <a href="org/apache/james/mailet/HelpMojo.html" target="classFrame">HelpMojo</a>
+ </li>
+ <li>
+ <a href="org/apache/james/mailet/MailetMatcherDescriptor.html" target="classFrame">MailetMatcherDescriptor</a>
+ </li>
+ <li>
+ <a href="org/apache/james/mailet/MailetdocsMojo.html" target="classFrame">MailetdocsMojo</a>
+ </li>
+ <li>
+ <a href="org/apache/james/mailet/MailetdocsMojo.html" target="classFrame">TypePredicate</a>
+ </li>
+ </ul>
+
+ </body>
+ </html>
Added: james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/index.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/index.html?rev=742095&view=auto
==============================================================================
--- james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/index.html (added)
+++ james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/index.html Sun Feb 8 14:02:52 2009
@@ -0,0 +1,24 @@
+
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">
+<html xml:lang="en" lang="en">
+ <head>
+ <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+ <title>Mailetdocs Maven Plugin 0.1 Reference</title>
+ </head>
+ <frameset cols="20%,80%">
+ <frameset rows="30%,70%">
+ <frame src="overview-frame.html" name="packageListFrame" />
+ <frame src="allclasses-frame.html" name="packageFrame" />
+ </frameset>
+ <frame src="overview-summary.html" name="classFrame" />
+ <noframes>
+ <body>
+ <h1>Frame Alert</h1>
+ <p>
+ You don't have frames. Go <a href="overview-summary.html">here</a>
+ </p>
+ </body>
+ </noframes>
+ </frameset>
+</html>
+
Added: james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/DefaultDescriptorsExtractor.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/DefaultDescriptorsExtractor.html?rev=742095&view=auto
==============================================================================
--- james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/DefaultDescriptorsExtractor.html (added)
+++ james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/DefaultDescriptorsExtractor.html Sun Feb 8 14:02:52 2009
@@ -0,0 +1,211 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>DefaultDescriptorsExtractor xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/james/mailet/DefaultDescriptorsExtractor.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">**************************************************************</em>
+<a name="2" href="#2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one *</em>
+<a name="3" href="#3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file *</em>
+<a name="4" href="#4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information *</em>
+<a name="5" href="#5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file *</em>
+<a name="6" href="#6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the *</em>
+<a name="7" href="#7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance *</em>
+<a name="8" href="#8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at *</em>
+<a name="9" href="#9">9</a> <em class="jxr_javadoccomment"> * *</em>
+<a name="10" href="#10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a> *</em>
+<a name="11" href="#11">11</a> <em class="jxr_javadoccomment"> * *</em>
+<a name="12" href="#12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, *</em>
+<a name="13" href="#13">13</a> <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an *</em>
+<a name="14" href="#14">14</a> <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *</em>
+<a name="15" href="#15">15</a> <em class="jxr_javadoccomment"> * KIND, either express or implied. See the License for the *</em>
+<a name="16" href="#16">16</a> <em class="jxr_javadoccomment"> * specific language governing permissions and limitations *</em>
+<a name="17" href="#17">17</a> <em class="jxr_javadoccomment"> * under the License. *</em>
+<a name="18" href="#18">18</a> <em class="jxr_javadoccomment"> ****************************************************************/</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <strong class="jxr_keyword">package</strong> org.apache.james.mailet;
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> org.apache.mailet.Mailet;
+<a name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> org.apache.mailet.Matcher;
+<a name="24" href="#24">24</a> <strong class="jxr_keyword">import</strong> org.apache.maven.artifact.DependencyResolutionRequiredException;
+<a name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.logging.Log;
+<a name="26" href="#26">26</a> <strong class="jxr_keyword">import</strong> org.apache.maven.project.MavenProject;
+<a name="27" href="#27">27</a>
+<a name="28" href="#28">28</a> <strong class="jxr_keyword">import</strong> com.thoughtworks.qdox.JavaDocBuilder;
+<a name="29" href="#29">29</a> <strong class="jxr_keyword">import</strong> com.thoughtworks.qdox.model.JavaClass;
+<a name="30" href="#30">30</a>
+<a name="31" href="#31">31</a> <strong class="jxr_keyword">import</strong> java.io.File;
+<a name="32" href="#32">32</a> <strong class="jxr_keyword">import</strong> java.lang.reflect.InvocationTargetException;
+<a name="33" href="#33">33</a> <strong class="jxr_keyword">import</strong> java.net.MalformedURLException;
+<a name="34" href="#34">34</a> <strong class="jxr_keyword">import</strong> java.net.URL;
+<a name="35" href="#35">35</a> <strong class="jxr_keyword">import</strong> java.net.URLClassLoader;
+<a name="36" href="#36">36</a> <strong class="jxr_keyword">import</strong> java.util.Iterator;
+<a name="37" href="#37">37</a> <strong class="jxr_keyword">import</strong> java.util.LinkedList;
+<a name="38" href="#38">38</a> <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="39" href="#39">39</a> <strong class="jxr_keyword">import</strong> java.util.Set;
+<a name="40" href="#40">40</a>
+<a name="41" href="#41">41</a> <em class="jxr_javadoccomment">/**</em>
+<a name="42" href="#42">42</a> <em class="jxr_javadoccomment"> * Finds implementations of Mailet and Matchers in the source trees.</em>
+<a name="43" href="#43">43</a> <em class="jxr_javadoccomment"> * Extracts javadocs using QDox. <code>MailetInfo</code> is obtained by instantiation.</em>
+<a name="44" href="#44">44</a> <em class="jxr_javadoccomment"> */</em>
+<a name="45" href="#45">45</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/james/mailet/DefaultDescriptorsExtractor.html">DefaultDescriptorsExtractor</a> implements <a href="../../../../org/apache/james/mailet/DescriptorsExtractor.html">DescriptorsExtractor</a> {
+<a name="46" href="#46">46</a>
+<a name="47" href="#47">47</a> <em class="jxr_javadoccomment">/**</em>
+<a name="48" href="#48">48</a> <em class="jxr_javadoccomment"> * @see org.apache.james.mailet.DescriptorsExtractor#extractDescriptors(MavenProject, Log)</em>
+<a name="49" href="#49">49</a> <em class="jxr_javadoccomment"> */</em>
+<a name="50" href="#50">50</a> <strong class="jxr_keyword">public</strong> List extractDescriptors(MavenProject project, Log log) {
+<a name="51" href="#51">51</a>
+<a name="52" href="#52">52</a> List res = <strong class="jxr_keyword">new</strong> LinkedList();
+<a name="53" href="#53">53</a>
+<a name="54" href="#54">54</a> JavaDocBuilder builder = <strong class="jxr_keyword">new</strong> JavaDocBuilder();
+<a name="55" href="#55">55</a> <strong class="jxr_keyword">for</strong> (Iterator i = project.getCompileSourceRoots().iterator(); i
+<a name="56" href="#56">56</a> .hasNext();) {
+<a name="57" href="#57">57</a> builder.addSourceTree(<strong class="jxr_keyword">new</strong> File((String) i.next()));
+<a name="58" href="#58">58</a> }
+<a name="59" href="#59">59</a> JavaClass[] classes = builder.getClasses();
+<a name="60" href="#60">60</a>
+<a name="61" href="#61">61</a> URL[] urls = <strong class="jxr_keyword">null</strong>;
+<a name="62" href="#62">62</a> URLClassLoader classLoader = <strong class="jxr_keyword">null</strong>;
+<a name="63" href="#63">63</a> <strong class="jxr_keyword">try</strong> {
+<a name="64" href="#64">64</a> <strong class="jxr_keyword">try</strong> {
+<a name="65" href="#65">65</a> List cpes = project.getCompileClasspathElements();
+<a name="66" href="#66">66</a> urls = <strong class="jxr_keyword">new</strong> URL[cpes.size()];
+<a name="67" href="#67">67</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> k = 0; k < cpes.size(); k++) {
+<a name="68" href="#68">68</a> log.debug(<span class="jxr_string">"CPE: "</span> + cpes.get(k));
+<a name="69" href="#69">69</a> urls[k] = <strong class="jxr_keyword">new</strong> File((String) cpes.get(k)).toURI().toURL();
+<a name="70" href="#70">70</a> }
+<a name="71" href="#71">71</a> classLoader = <strong class="jxr_keyword">new</strong> URLClassLoader(urls);
+<a name="72" href="#72">72</a> } <strong class="jxr_keyword">catch</strong> (DependencyResolutionRequiredException e1) {
+<a name="73" href="#73">73</a> log.error(e1);
+<a name="74" href="#74">74</a> }
+<a name="75" href="#75">75</a> } <strong class="jxr_keyword">catch</strong> (MalformedURLException e) {
+<a name="76" href="#76">76</a> log.error(e);
+<a name="77" href="#77">77</a> }
+<a name="78" href="#78">78</a> Set dependencies = project.getDependencyArtifacts();
+<a name="79" href="#79">79</a> <strong class="jxr_keyword">if</strong> (dependencies != <strong class="jxr_keyword">null</strong>)
+<a name="80" href="#80">80</a> <strong class="jxr_keyword">for</strong> (Iterator i = dependencies.iterator(); i.hasNext();) {
+<a name="81" href="#81">81</a> log.debug(<span class="jxr_string">"DEP: "</span> + i.next());
+<a name="82" href="#82">82</a> }
+<a name="83" href="#83">83</a>
+<a name="84" href="#84">84</a> log
+<a name="85" href="#85">85</a> .debug(<span class="jxr_string">"OutDir: "</span> + project.getBuild().getOutputDirectory());
+<a name="86" href="#86">86</a>
+<a name="87" href="#87">87</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i < classes.length; i++) {
+<a name="88" href="#88">88</a> log.debug(<span class="jxr_string">"Class: "</span> + classes[i].getFullyQualifiedName());
+<a name="89" href="#89">89</a> <strong class="jxr_keyword">try</strong> {
+<a name="90" href="#90">90</a> Class klass = classLoader.loadClass(classes[i]
+<a name="91" href="#91">91</a> .getFullyQualifiedName());
+<a name="92" href="#92">92</a>
+<a name="93" href="#93">93</a> log.debug(<span class="jxr_string">"Constr: "</span> + klass.getConstructor(<strong class="jxr_keyword">null</strong>));
+<a name="94" href="#94">94</a>
+<a name="95" href="#95">95</a> List zuper = getAllInterfaces(klass);
+<a name="96" href="#96">96</a> Class mailetClass = classLoader.loadClass(Mailet.<strong class="jxr_keyword">class</strong>
+<a name="97" href="#97">97</a> .getName());
+<a name="98" href="#98">98</a> Class matcherClass = classLoader.loadClass(Matcher.<strong class="jxr_keyword">class</strong>
+<a name="99" href="#99">99</a> .getName());
+<a name="100" href="#100">100</a> <strong class="jxr_keyword">if</strong> (zuper.contains(mailetClass)) {
+<a name="101" href="#101">101</a> Object m = klass.newInstance();
+<a name="102" href="#102">102</a> String mailetInfo = (String) klass.getMethod(
+<a name="103" href="#103">103</a> <span class="jxr_string">"getMailetInfo"</span>, <strong class="jxr_keyword">null</strong>).invoke(m, <strong class="jxr_keyword">null</strong>);
+<a name="104" href="#104">104</a> log.info(<span class="jxr_string">"Found a Mailet: "</span> + klass.getName());
+<a name="105" href="#105">105</a> <a href="../../../../org/apache/james/mailet/MailetMatcherDescriptor.html">MailetMatcherDescriptor</a> mmdesc = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/james/mailet/MailetMatcherDescriptor.html">MailetMatcherDescriptor</a>();
+<a name="106" href="#106">106</a> mmdesc.setName(classes[i].getName());
+<a name="107" href="#107">107</a> mmdesc.setFullyQualifiedName(classes[i]
+<a name="108" href="#108">108</a> .getFullyQualifiedName());
+<a name="109" href="#109">109</a> mmdesc.setType(MailetMatcherDescriptor.TYPE_MAILET);
+<a name="110" href="#110">110</a> <strong class="jxr_keyword">if</strong> (mailetInfo != <strong class="jxr_keyword">null</strong> && mailetInfo.length() > 0) {
+<a name="111" href="#111">111</a> mmdesc.setInfo(mailetInfo);
+<a name="112" href="#112">112</a> }
+<a name="113" href="#113">113</a> mmdesc.setClassDocs(classes[i].getComment());
+<a name="114" href="#114">114</a> res.add(mmdesc);
+<a name="115" href="#115">115</a>
+<a name="116" href="#116">116</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (zuper.contains(matcherClass)) {
+<a name="117" href="#117">117</a> Object m = klass.newInstance();
+<a name="118" href="#118">118</a> String matcherInfo = (String) klass.getMethod(
+<a name="119" href="#119">119</a> <span class="jxr_string">"getMatcherInfo"</span>, <strong class="jxr_keyword">null</strong>).invoke(m, <strong class="jxr_keyword">null</strong>);
+<a name="120" href="#120">120</a> log.info(<span class="jxr_string">"Found a Matcher: "</span> + klass.getName());
+<a name="121" href="#121">121</a> <a href="../../../../org/apache/james/mailet/MailetMatcherDescriptor.html">MailetMatcherDescriptor</a> mmdesc = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/james/mailet/MailetMatcherDescriptor.html">MailetMatcherDescriptor</a>();
+<a name="122" href="#122">122</a> mmdesc.setName(classes[i].getName());
+<a name="123" href="#123">123</a> mmdesc.setFullyQualifiedName(classes[i]
+<a name="124" href="#124">124</a> .getFullyQualifiedName());
+<a name="125" href="#125">125</a> mmdesc.setType(MailetMatcherDescriptor.TYPE_MATCHER);
+<a name="126" href="#126">126</a> <strong class="jxr_keyword">if</strong> (matcherInfo != <strong class="jxr_keyword">null</strong> && matcherInfo.length() > 0) {
+<a name="127" href="#127">127</a> mmdesc.setInfo(matcherInfo);
+<a name="128" href="#128">128</a> }
+<a name="129" href="#129">129</a> mmdesc.setClassDocs(classes[i].getComment());
+<a name="130" href="#130">130</a> res.add(mmdesc);
+<a name="131" href="#131">131</a> } <strong class="jxr_keyword">else</strong> <strong class="jxr_keyword">if</strong> (zuper.size() > 0) {
+<a name="132" href="#132">132</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> k = 0; k < zuper.size(); k++) {
+<a name="133" href="#133">133</a> log.debug(<span class="jxr_string">"I: "</span> + ((Class) zuper.get(k)).getName());
+<a name="134" href="#134">134</a> }
+<a name="135" href="#135">135</a> } <strong class="jxr_keyword">else</strong> {
+<a name="136" href="#136">136</a> log.debug(<span class="jxr_string">"No interfaces for "</span> + klass.getName());
+<a name="137" href="#137">137</a> }
+<a name="138" href="#138">138</a>
+<a name="139" href="#139">139</a> } <strong class="jxr_keyword">catch</strong> (ClassNotFoundException e) {
+<a name="140" href="#140">140</a> log.error(<span class="jxr_string">"NotFound: "</span> + e.getMessage());
+<a name="141" href="#141">141</a> } <strong class="jxr_keyword">catch</strong> (InstantiationException e) {
+<a name="142" href="#142">142</a> log.info(<span class="jxr_string">"IE: "</span> + e.getMessage()+<span class="jxr_string">" / Probably an abstract mailet/matcher: "</span>+classes[i].getName());
+<a name="143" href="#143">143</a> } <strong class="jxr_keyword">catch</strong> (IllegalAccessException e) {
+<a name="144" href="#144">144</a> log.error(<span class="jxr_string">"IAE: "</span> + e.getMessage());
+<a name="145" href="#145">145</a> } <strong class="jxr_keyword">catch</strong> (SecurityException e) {
+<a name="146" href="#146">146</a> log.error(<span class="jxr_string">"SE: "</span> + e.getMessage());
+<a name="147" href="#147">147</a> } <strong class="jxr_keyword">catch</strong> (NoSuchMethodException e) {
+<a name="148" href="#148">148</a> log.error(<span class="jxr_string">"NSME: "</span> + e.getMessage());
+<a name="149" href="#149">149</a> } <strong class="jxr_keyword">catch</strong> (IllegalArgumentException e) {
+<a name="150" href="#150">150</a> log.error(<span class="jxr_string">"IAE2: "</span> + e.getMessage());
+<a name="151" href="#151">151</a> } <strong class="jxr_keyword">catch</strong> (InvocationTargetException e) {
+<a name="152" href="#152">152</a> log.error(<span class="jxr_string">"ITE: "</span> + e.getMessage());
+<a name="153" href="#153">153</a> }
+<a name="154" href="#154">154</a>
+<a name="155" href="#155">155</a> List implementedInterfaces = getAllInterfacesQdox(classes[i]);
+<a name="156" href="#156">156</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> k = 0; k < implementedInterfaces.size(); k++) {
+<a name="157" href="#157">157</a> log.info(<span class="jxr_string">"I: "</span> + implementedInterfaces.get(k));
+<a name="158" href="#158">158</a> }
+<a name="159" href="#159">159</a>
+<a name="160" href="#160">160</a> }
+<a name="161" href="#161">161</a>
+<a name="162" href="#162">162</a> <strong class="jxr_keyword">return</strong> res;
+<a name="163" href="#163">163</a> }
+<a name="164" href="#164">164</a>
+<a name="165" href="#165">165</a>
+<a name="166" href="#166">166</a> <strong class="jxr_keyword">private</strong> List getAllInterfacesQdox(JavaClass javaClass) {
+<a name="167" href="#167">167</a> List res = <strong class="jxr_keyword">new</strong> LinkedList();
+<a name="168" href="#168">168</a> <strong class="jxr_keyword">if</strong> (javaClass.getImplementedInterfaces() != <strong class="jxr_keyword">null</strong>) {
+<a name="169" href="#169">169</a> JavaClass[] interfaces = javaClass.getImplementedInterfaces();
+<a name="170" href="#170">170</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> n = 0; n < interfaces.length; n++) {
+<a name="171" href="#171">171</a> res.add(interfaces[n]);
+<a name="172" href="#172">172</a> }
+<a name="173" href="#173">173</a> }
+<a name="174" href="#174">174</a> <strong class="jxr_keyword">if</strong> (javaClass.getSuperJavaClass() != <strong class="jxr_keyword">null</strong>) {
+<a name="175" href="#175">175</a> res.addAll(getAllInterfacesQdox(javaClass.getSuperJavaClass()));
+<a name="176" href="#176">176</a> }
+<a name="177" href="#177">177</a> <strong class="jxr_keyword">return</strong> res;
+<a name="178" href="#178">178</a> }
+<a name="179" href="#179">179</a>
+<a name="180" href="#180">180</a> <strong class="jxr_keyword">private</strong> List getAllInterfaces(Class klass) {
+<a name="181" href="#181">181</a> List res = <strong class="jxr_keyword">new</strong> LinkedList();
+<a name="182" href="#182">182</a> <strong class="jxr_keyword">if</strong> (klass.getInterfaces() != <strong class="jxr_keyword">null</strong>) {
+<a name="183" href="#183">183</a> Class[] interfaces = klass.getInterfaces();
+<a name="184" href="#184">184</a> <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> n = 0; n < interfaces.length; n++) {
+<a name="185" href="#185">185</a> res.add(interfaces[n]);
+<a name="186" href="#186">186</a> <em class="jxr_comment">// add also interfaces extensions</em>
+<a name="187" href="#187">187</a> res.addAll(getAllInterfaces(interfaces[n]));
+<a name="188" href="#188">188</a> }
+<a name="189" href="#189">189</a> }
+<a name="190" href="#190">190</a> <strong class="jxr_keyword">if</strong> (klass.getSuperclass() != <strong class="jxr_keyword">null</strong>) {
+<a name="191" href="#191">191</a> res.addAll(getAllInterfaces(klass.getSuperclass()));
+<a name="192" href="#192">192</a> }
+<a name="193" href="#193">193</a> <strong class="jxr_keyword">return</strong> res;
+<a name="194" href="#194">194</a>
+<a name="195" href="#195">195</a> }
+<a name="196" href="#196">196</a>
+<a name="197" href="#197">197</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Added: james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/DescriptorsExtractor.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/DescriptorsExtractor.html?rev=742095&view=auto
==============================================================================
--- james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/DescriptorsExtractor.html (added)
+++ james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/DescriptorsExtractor.html Sun Feb 8 14:02:52 2009
@@ -0,0 +1,50 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>DescriptorsExtractor xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/james/mailet/DescriptorsExtractor.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">**************************************************************</em>
+<a name="2" href="#2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one *</em>
+<a name="3" href="#3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file *</em>
+<a name="4" href="#4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information *</em>
+<a name="5" href="#5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file *</em>
+<a name="6" href="#6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the *</em>
+<a name="7" href="#7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance *</em>
+<a name="8" href="#8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at *</em>
+<a name="9" href="#9">9</a> <em class="jxr_javadoccomment"> * *</em>
+<a name="10" href="#10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a> *</em>
+<a name="11" href="#11">11</a> <em class="jxr_javadoccomment"> * *</em>
+<a name="12" href="#12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, *</em>
+<a name="13" href="#13">13</a> <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an *</em>
+<a name="14" href="#14">14</a> <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *</em>
+<a name="15" href="#15">15</a> <em class="jxr_javadoccomment"> * KIND, either express or implied. See the License for the *</em>
+<a name="16" href="#16">16</a> <em class="jxr_javadoccomment"> * specific language governing permissions and limitations *</em>
+<a name="17" href="#17">17</a> <em class="jxr_javadoccomment"> * under the License. *</em>
+<a name="18" href="#18">18</a> <em class="jxr_javadoccomment"> ****************************************************************/</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <strong class="jxr_keyword">package</strong> org.apache.james.mailet;
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.logging.Log;
+<a name="23" href="#23">23</a> <strong class="jxr_keyword">import</strong> org.apache.maven.project.MavenProject;
+<a name="24" href="#24">24</a>
+<a name="25" href="#25">25</a> <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="26" href="#26">26</a>
+<a name="27" href="#27">27</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">interface</strong> <a href="../../../../org/apache/james/mailet/DescriptorsExtractor.html">DescriptorsExtractor</a> {
+<a name="28" href="#28">28</a>
+<a name="29" href="#29">29</a> <em class="jxr_javadoccomment">/**</em>
+<a name="30" href="#30">30</a> <em class="jxr_javadoccomment"> * Search the source trees for mailets/matchers and returns their descriptors</em>
+<a name="31" href="#31">31</a> <em class="jxr_javadoccomment"> * </em>
+<a name="32" href="#32">32</a> <em class="jxr_javadoccomment"> * @return List of MailetMatcherDescriptor objects</em>
+<a name="33" href="#33">33</a> <em class="jxr_javadoccomment"> */</em>
+<a name="34" href="#34">34</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> List extractDescriptors(MavenProject project, Log log);
+<a name="35" href="#35">35</a>
+<a name="36" href="#36">36</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Added: james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/HelpMojo.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/HelpMojo.html?rev=742095&view=auto
==============================================================================
--- james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/HelpMojo.html (added)
+++ james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/HelpMojo.html Sun Feb 8 14:02:52 2009
@@ -0,0 +1,204 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>HelpMojo xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/james/mailet/HelpMojo.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <strong class="jxr_keyword">package</strong> org.apache.james.mailet;
+<a name="2" href="#2">2</a>
+<a name="3" href="#3">3</a> <strong class="jxr_keyword">import</strong> java.util.ArrayList;
+<a name="4" href="#4">4</a> <strong class="jxr_keyword">import</strong> java.util.Iterator;
+<a name="5" href="#5">5</a> <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="6" href="#6">6</a> <strong class="jxr_keyword">import</strong> java.util.StringTokenizer;
+<a name="7" href="#7">7</a>
+<a name="8" href="#8">8</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.AbstractMojo;
+<a name="9" href="#9">9</a> <strong class="jxr_keyword">import</strong> org.apache.maven.plugin.MojoExecutionException;
+<a name="10" href="#10">10</a>
+<a name="11" href="#11">11</a> <em class="jxr_javadoccomment">/**</em>
+<a name="12" href="#12">12</a> <em class="jxr_javadoccomment"> * Display help information on 'org.apache.james:maven-mailetdocs-plugin' plugin. Call 'mvn mailetdocs:help -Ddetail=true' to display all details.</em>
+<a name="13" href="#13">13</a> <em class="jxr_javadoccomment"> *</em>
+<a name="14" href="#14">14</a> <em class="jxr_javadoccomment"> * @version generated on Sun Feb 08 11:35:31 GMT 2009</em>
+<a name="15" href="#15">15</a> <em class="jxr_javadoccomment"> * @goal help</em>
+<a name="16" href="#16">16</a> <em class="jxr_javadoccomment"> */</em>
+<a name="17" href="#17">17</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/james/mailet/HelpMojo.html">HelpMojo</a>
+<a name="18" href="#18">18</a> <strong class="jxr_keyword">extends</strong> AbstractMojo
+<a name="19" href="#19">19</a> {
+<a name="20" href="#20">20</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> 80-character display buffer */</em>
+<a name="21" href="#21">21</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_WIDTH = 80;
+<a name="22" href="#22">22</a>
+<a name="23" href="#23">23</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> 4 indent spaces */</em>
+<a name="24" href="#24">24</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_INDENT = repeat( <span class="jxr_string">" "</span>, 2 );
+<a name="25" href="#25">25</a>
+<a name="26" href="#26">26</a> <em class="jxr_javadoccomment">/**</em>
+<a name="27" href="#27">27</a> <em class="jxr_javadoccomment"> * If true, display all settable properies for each goal.</em>
+<a name="28" href="#28">28</a> <em class="jxr_javadoccomment"> *</em>
+<a name="29" href="#29">29</a> <em class="jxr_javadoccomment"> * @parameter expression="${detail}" default-value="false"</em>
+<a name="30" href="#30">30</a> <em class="jxr_javadoccomment"> */</em>
+<a name="31" href="#31">31</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> detail;
+<a name="32" href="#32">32</a>
+<a name="33" href="#33">33</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> {@inheritDoc} */</em>
+<a name="34" href="#34">34</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> execute()
+<a name="35" href="#35">35</a> <strong class="jxr_keyword">throws</strong> MojoExecutionException
+<a name="36" href="#36">36</a> {
+<a name="37" href="#37">37</a> StringBuffer sb = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a name="38" href="#38">38</a>
+<a name="39" href="#39">39</a> sb.append( <span class="jxr_string">"The 'org.apache.james:maven-mailetdocs-plugin' plugin has 3 goals:"</span> ).append( <span class="jxr_string">"\n"</span> );
+<a name="40" href="#40">40</a> sb.append( <span class="jxr_string">"\n"</span> );
+<a name="41" href="#41">41</a>
+<a name="42" href="#42">42</a> sb.append( <span class="jxr_string">"mailetdocs:mailetdocs"</span> ).append( <span class="jxr_string">"\n"</span> );
+<a name="43" href="#43">43</a> <strong class="jxr_keyword">for</strong> ( Iterator it = toLines( <span class="jxr_string">"Generates catalog and reports on mailets and matchers.NotesShould only used as a report.Mailets are instantiated during report production."</span> ).iterator(); it.hasNext(); )
+<a name="44" href="#44">44</a> {
+<a name="45" href="#45">45</a> sb.append( it.next().toString() ).append( <span class="jxr_string">"\n"</span> );
+<a name="46" href="#46">46</a> }
+<a name="47" href="#47">47</a> <strong class="jxr_keyword">if</strong> ( detail )
+<a name="48" href="#48">48</a> {
+<a name="49" href="#49">49</a> sb.append( <span class="jxr_string">"\n"</span> );
+<a name="50" href="#50">50</a>
+<a name="51" href="#51">51</a> sb.append( repeat( <span class="jxr_string">" "</span>, 2 ) );
+<a name="52" href="#52">52</a> sb.append( <span class="jxr_string">"Available parameters:"</span> ).append( <span class="jxr_string">"\n"</span> );
+<a name="53" href="#53">53</a>
+<a name="54" href="#54">54</a> sb.append( <span class="jxr_string">"\n"</span> );
+<a name="55" href="#55">55</a>
+<a name="56" href="#56">56</a> <strong class="jxr_keyword">for</strong> ( Iterator it = toLines( <span class="jxr_string">"outputDirectory"</span>, repeat( <span class="jxr_string">" "</span>, 4 ), DEFAULT_WIDTH ).iterator(); it.hasNext(); )
+<a name="57" href="#57">57</a> {
+<a name="58" href="#58">58</a> sb.append( it.next().toString() ).append( <span class="jxr_string">"\n"</span> );
+<a name="59" href="#59">59</a> }
+<a name="60" href="#60">60</a> <strong class="jxr_keyword">for</strong> ( Iterator it = toLines( <span class="jxr_string">"The output directory."</span>, repeat( <span class="jxr_string">" "</span>, 6 ), DEFAULT_WIDTH ).iterator(); it.hasNext(); )
+<a name="61" href="#61">61</a> {
+<a name="62" href="#62">62</a> sb.append( it.next().toString() ).append( <span class="jxr_string">"\n"</span> );
+<a name="63" href="#63">63</a> }
+<a name="64" href="#64">64</a> }
+<a name="65" href="#65">65</a>
+<a name="66" href="#66">66</a> sb.append( <span class="jxr_string">"\n"</span> );
+<a name="67" href="#67">67</a>
+<a name="68" href="#68">68</a> sb.append( <span class="jxr_string">"mailetdocs:help"</span> ).append( <span class="jxr_string">"\n"</span> );
+<a name="69" href="#69">69</a> <strong class="jxr_keyword">for</strong> ( Iterator it = toLines( <span class="jxr_string">"Display help information on 'org.apache.james:maven-mailetdocs-plugin' plugin. Call 'mvn mailetdocs:help -Ddetail=true' to display all details."</span> ).iterator(); it.hasNext(); )
+<a name="70" href="#70">70</a> {
+<a name="71" href="#71">71</a> sb.append( it.next().toString() ).append( <span class="jxr_string">"\n"</span> );
+<a name="72" href="#72">72</a> }
+<a name="73" href="#73">73</a> <strong class="jxr_keyword">if</strong> ( detail )
+<a name="74" href="#74">74</a> {
+<a name="75" href="#75">75</a> sb.append( <span class="jxr_string">"\n"</span> );
+<a name="76" href="#76">76</a>
+<a name="77" href="#77">77</a> sb.append( repeat( <span class="jxr_string">" "</span>, 2 ) );
+<a name="78" href="#78">78</a> sb.append( <span class="jxr_string">"Available parameters:"</span> ).append( <span class="jxr_string">"\n"</span> );
+<a name="79" href="#79">79</a>
+<a name="80" href="#80">80</a> sb.append( <span class="jxr_string">"\n"</span> );
+<a name="81" href="#81">81</a>
+<a name="82" href="#82">82</a> <strong class="jxr_keyword">for</strong> ( Iterator it = toLines( <span class="jxr_string">"detail (Default: 'false')"</span>, repeat( <span class="jxr_string">" "</span>, 4 ), DEFAULT_WIDTH ).iterator(); it.hasNext(); )
+<a name="83" href="#83">83</a> {
+<a name="84" href="#84">84</a> sb.append( it.next().toString() ).append( <span class="jxr_string">"\n"</span> );
+<a name="85" href="#85">85</a> }
+<a name="86" href="#86">86</a> <strong class="jxr_keyword">for</strong> ( Iterator it = toLines( <span class="jxr_string">"If true, display all settable properies for each goal."</span>, repeat( <span class="jxr_string">" "</span>, 6 ), DEFAULT_WIDTH ).iterator(); it.hasNext(); )
+<a name="87" href="#87">87</a> {
+<a name="88" href="#88">88</a> sb.append( it.next().toString() ).append( <span class="jxr_string">"\n"</span> );
+<a name="89" href="#89">89</a> }
+<a name="90" href="#90">90</a> }
+<a name="91" href="#91">91</a>
+<a name="92" href="#92">92</a> sb.append( <span class="jxr_string">"\n"</span> );
+<a name="93" href="#93">93</a>
+<a name="94" href="#94">94</a> sb.append( <span class="jxr_string">"mailetdocs:help"</span> ).append( <span class="jxr_string">"\n"</span> );
+<a name="95" href="#95">95</a> <strong class="jxr_keyword">for</strong> ( Iterator it = toLines( <span class="jxr_string">"Display help information on 'org.apache.james:maven-mailetdocs-plugin' plugin. Call 'mvn mailetdocs:help -Ddetail=true' to display all details."</span> ).iterator(); it.hasNext(); )
+<a name="96" href="#96">96</a> {
+<a name="97" href="#97">97</a> sb.append( it.next().toString() ).append( <span class="jxr_string">"\n"</span> );
+<a name="98" href="#98">98</a> }
+<a name="99" href="#99">99</a>
+<a name="100" href="#100">100</a> <strong class="jxr_keyword">if</strong> ( getLog().isInfoEnabled() )
+<a name="101" href="#101">101</a> {
+<a name="102" href="#102">102</a> getLog().info( sb.toString() );
+<a name="103" href="#103">103</a> }
+<a name="104" href="#104">104</a> }
+<a name="105" href="#105">105</a>
+<a name="106" href="#106">106</a> <em class="jxr_javadoccomment">/**</em>
+<a name="107" href="#107">107</a> <em class="jxr_javadoccomment"> * <p>Repeat a String <code>n</code> times to form a new string.</p></em>
+<a name="108" href="#108">108</a> <em class="jxr_javadoccomment"> *</em>
+<a name="109" href="#109">109</a> <em class="jxr_javadoccomment"> * @param str String to repeat</em>
+<a name="110" href="#110">110</a> <em class="jxr_javadoccomment"> * @param repeat number of times to repeat str</em>
+<a name="111" href="#111">111</a> <em class="jxr_javadoccomment"> * @return String with repeated String</em>
+<a name="112" href="#112">112</a> <em class="jxr_javadoccomment"> * @throws NegativeArraySizeException if <code>repeat < 0</code></em>
+<a name="113" href="#113">113</a> <em class="jxr_javadoccomment"> * @throws NullPointerException if str is <code>null</code></em>
+<a name="114" href="#114">114</a> <em class="jxr_javadoccomment"> */</em>
+<a name="115" href="#115">115</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> String repeat( String str, <strong class="jxr_keyword">int</strong> repeat )
+<a name="116" href="#116">116</a> {
+<a name="117" href="#117">117</a> StringBuffer buffer = <strong class="jxr_keyword">new</strong> StringBuffer( repeat * str.length() );
+<a name="118" href="#118">118</a>
+<a name="119" href="#119">119</a> <strong class="jxr_keyword">for</strong> ( <strong class="jxr_keyword">int</strong> i = 0; i < repeat; i++ )
+<a name="120" href="#120">120</a> {
+<a name="121" href="#121">121</a> buffer.append( str );
+<a name="122" href="#122">122</a> }
+<a name="123" href="#123">123</a>
+<a name="124" href="#124">124</a> <strong class="jxr_keyword">return</strong> buffer.toString();
+<a name="125" href="#125">125</a> }
+<a name="126" href="#126">126</a>
+<a name="127" href="#127">127</a> <em class="jxr_javadoccomment">/**</em>
+<a name="128" href="#128">128</a> <em class="jxr_javadoccomment"> * <p>Give a list of lines for the <code>str</code>. Each line is indented by 4 spaces</em>
+<a name="129" href="#129">129</a> <em class="jxr_javadoccomment"> * and has a maximum of <code>80</code> characters.</p></em>
+<a name="130" href="#130">130</a> <em class="jxr_javadoccomment"> *</em>
+<a name="131" href="#131">131</a> <em class="jxr_javadoccomment"> * @param str String to split in lines</em>
+<a name="132" href="#132">132</a> <em class="jxr_javadoccomment"> * @return List of lines</em>
+<a name="133" href="#133">133</a> <em class="jxr_javadoccomment"> * @throws NullPointerException if str is <code>null</code></em>
+<a name="134" href="#134">134</a> <em class="jxr_javadoccomment"> */</em>
+<a name="135" href="#135">135</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> List toLines( String str )
+<a name="136" href="#136">136</a> {
+<a name="137" href="#137">137</a> <strong class="jxr_keyword">return</strong> toLines( str, DEFAULT_INDENT, DEFAULT_WIDTH );
+<a name="138" href="#138">138</a> }
+<a name="139" href="#139">139</a>
+<a name="140" href="#140">140</a> <em class="jxr_javadoccomment">/**</em>
+<a name="141" href="#141">141</a> <em class="jxr_javadoccomment"> * <p>Give a list of lines for the <code>str</code>. Each line is indented by <code>indent</code></em>
+<a name="142" href="#142">142</a> <em class="jxr_javadoccomment"> * and has a maximum of <code>size</code> characters.</p></em>
+<a name="143" href="#143">143</a> <em class="jxr_javadoccomment"> *</em>
+<a name="144" href="#144">144</a> <em class="jxr_javadoccomment"> * @param str String to split in lines</em>
+<a name="145" href="#145">145</a> <em class="jxr_javadoccomment"> * @param indent the string to precede each line</em>
+<a name="146" href="#146">146</a> <em class="jxr_javadoccomment"> * @param size the size of the character display buffer</em>
+<a name="147" href="#147">147</a> <em class="jxr_javadoccomment"> * @return List of lines</em>
+<a name="148" href="#148">148</a> <em class="jxr_javadoccomment"> * @throws IllegalArgumentException if <code>size < 0</code></em>
+<a name="149" href="#149">149</a> <em class="jxr_javadoccomment"> * @throws NullPointerException if str is <code>null</code></em>
+<a name="150" href="#150">150</a> <em class="jxr_javadoccomment"> */</em>
+<a name="151" href="#151">151</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> List toLines( String str, String indent, <strong class="jxr_keyword">int</strong> size )
+<a name="152" href="#152">152</a> {
+<a name="153" href="#153">153</a> List sentences = <strong class="jxr_keyword">new</strong> ArrayList();
+<a name="154" href="#154">154</a>
+<a name="155" href="#155">155</a> <strong class="jxr_keyword">if</strong> ( indent == <strong class="jxr_keyword">null</strong> )
+<a name="156" href="#156">156</a> {
+<a name="157" href="#157">157</a> indent = <span class="jxr_string">""</span>;
+<a name="158" href="#158">158</a> }
+<a name="159" href="#159">159</a>
+<a name="160" href="#160">160</a> <strong class="jxr_keyword">if</strong> ( size < 0 )
+<a name="161" href="#161">161</a> {
+<a name="162" href="#162">162</a> <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException( <span class="jxr_string">"size should be positive"</span> );
+<a name="163" href="#163">163</a> }
+<a name="164" href="#164">164</a>
+<a name="165" href="#165">165</a> StringBuffer tmp = <strong class="jxr_keyword">new</strong> StringBuffer( indent );
+<a name="166" href="#166">166</a> StringTokenizer tokenizer = <strong class="jxr_keyword">new</strong> StringTokenizer( str, <span class="jxr_string">" "</span> );
+<a name="167" href="#167">167</a> <strong class="jxr_keyword">while</strong> ( tokenizer.hasMoreTokens() )
+<a name="168" href="#168">168</a> {
+<a name="169" href="#169">169</a> String word = tokenizer.nextToken();
+<a name="170" href="#170">170</a>
+<a name="171" href="#171">171</a> <strong class="jxr_keyword">if</strong> ( tmp.length() + word.length() + 1 < size )
+<a name="172" href="#172">172</a> {
+<a name="173" href="#173">173</a> tmp.append( word ).append( <span class="jxr_string">" "</span> );
+<a name="174" href="#174">174</a> }
+<a name="175" href="#175">175</a> <strong class="jxr_keyword">else</strong>
+<a name="176" href="#176">176</a> {
+<a name="177" href="#177">177</a> sentences.add( tmp.toString() );
+<a name="178" href="#178">178</a> tmp = <strong class="jxr_keyword">new</strong> StringBuffer( indent );
+<a name="179" href="#179">179</a> tmp.append( word ).append( <span class="jxr_string">" "</span> );
+<a name="180" href="#180">180</a> }
+<a name="181" href="#181">181</a> }
+<a name="182" href="#182">182</a>
+<a name="183" href="#183">183</a> <strong class="jxr_keyword">if</strong> ( tmp.toString().length() > 0 )
+<a name="184" href="#184">184</a> {
+<a name="185" href="#185">185</a> sentences.add( tmp.toString() );
+<a name="186" href="#186">186</a> }
+<a name="187" href="#187">187</a>
+<a name="188" href="#188">188</a> <strong class="jxr_keyword">return</strong> sentences;
+<a name="189" href="#189">189</a> }
+<a name="190" href="#190">190</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+
Added: james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/MailetMatcherDescriptor.html
URL: http://svn.apache.org/viewvc/james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/MailetMatcherDescriptor.html?rev=742095&view=auto
==============================================================================
--- james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/MailetMatcherDescriptor.html (added)
+++ james/site/trunk/www/mailet/maven-mailetdocs-plugin/maven-mailetdocs-plugin-0.1/xref/org/apache/james/mailet/MailetMatcherDescriptor.html Sun Feb 8 14:02:52 2009
@@ -0,0 +1,95 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
+<title>MailetMatcherDescriptor xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../apidocs/org/apache/james/mailet/MailetMatcherDescriptor.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1">1</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment">**************************************************************</em>
+<a name="2" href="#2">2</a> <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one *</em>
+<a name="3" href="#3">3</a> <em class="jxr_javadoccomment"> * or more contributor license agreements. See the NOTICE file *</em>
+<a name="4" href="#4">4</a> <em class="jxr_javadoccomment"> * distributed with this work for additional information *</em>
+<a name="5" href="#5">5</a> <em class="jxr_javadoccomment"> * regarding copyright ownership. The ASF licenses this file *</em>
+<a name="6" href="#6">6</a> <em class="jxr_javadoccomment"> * to you under the Apache License, Version 2.0 (the *</em>
+<a name="7" href="#7">7</a> <em class="jxr_javadoccomment"> * "License"); you may not use this file except in compliance *</em>
+<a name="8" href="#8">8</a> <em class="jxr_javadoccomment"> * with the License. You may obtain a copy of the License at *</em>
+<a name="9" href="#9">9</a> <em class="jxr_javadoccomment"> * *</em>
+<a name="10" href="#10">10</a> <em class="jxr_javadoccomment"> * <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a> *</em>
+<a name="11" href="#11">11</a> <em class="jxr_javadoccomment"> * *</em>
+<a name="12" href="#12">12</a> <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, *</em>
+<a name="13" href="#13">13</a> <em class="jxr_javadoccomment"> * software distributed under the License is distributed on an *</em>
+<a name="14" href="#14">14</a> <em class="jxr_javadoccomment"> * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *</em>
+<a name="15" href="#15">15</a> <em class="jxr_javadoccomment"> * KIND, either express or implied. See the License for the *</em>
+<a name="16" href="#16">16</a> <em class="jxr_javadoccomment"> * specific language governing permissions and limitations *</em>
+<a name="17" href="#17">17</a> <em class="jxr_javadoccomment"> * under the License. *</em>
+<a name="18" href="#18">18</a> <em class="jxr_javadoccomment"> ****************************************************************/</em>
+<a name="19" href="#19">19</a>
+<a name="20" href="#20">20</a> <strong class="jxr_keyword">package</strong> org.apache.james.mailet;
+<a name="21" href="#21">21</a>
+<a name="22" href="#22">22</a> <em class="jxr_javadoccomment">/**</em>
+<a name="23" href="#23">23</a> <em class="jxr_javadoccomment"> * Simple bean to describe a mailet or a matcher</em>
+<a name="24" href="#24">24</a> <em class="jxr_javadoccomment"> */</em>
+<a name="25" href="#25">25</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/james/mailet/MailetMatcherDescriptor.html">MailetMatcherDescriptor</a> {
+<a name="26" href="#26">26</a>
+<a name="27" href="#27">27</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">int</strong> TYPE_MAILET = 1;
+<a name="28" href="#28">28</a>
+<a name="29" href="#29">29</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">int</strong> TYPE_MATCHER = 2;
+<a name="30" href="#30">30</a>
+<a name="31" href="#31">31</a> <strong class="jxr_keyword">private</strong> String fqName;
+<a name="32" href="#32">32</a>
+<a name="33" href="#33">33</a> <strong class="jxr_keyword">private</strong> String name;
+<a name="34" href="#34">34</a>
+<a name="35" href="#35">35</a> <strong class="jxr_keyword">private</strong> String info;
+<a name="36" href="#36">36</a>
+<a name="37" href="#37">37</a> <strong class="jxr_keyword">private</strong> String classDocs;
+<a name="38" href="#38">38</a>
+<a name="39" href="#39">39</a> <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">int</strong> type;
+<a name="40" href="#40">40</a>
+<a name="41" href="#41">41</a> <strong class="jxr_keyword">public</strong> String getFullyQualifiedName() {
+<a name="42" href="#42">42</a> <strong class="jxr_keyword">return</strong> fqName;
+<a name="43" href="#43">43</a> }
+<a name="44" href="#44">44</a>
+<a name="45" href="#45">45</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setFullyQualifiedName(String fqName) {
+<a name="46" href="#46">46</a> <strong class="jxr_keyword">this</strong>.fqName = fqName;
+<a name="47" href="#47">47</a> }
+<a name="48" href="#48">48</a>
+<a name="49" href="#49">49</a> <strong class="jxr_keyword">public</strong> String getName() {
+<a name="50" href="#50">50</a> <strong class="jxr_keyword">return</strong> name;
+<a name="51" href="#51">51</a> }
+<a name="52" href="#52">52</a>
+<a name="53" href="#53">53</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setName(String name) {
+<a name="54" href="#54">54</a> <strong class="jxr_keyword">this</strong>.name = name;
+<a name="55" href="#55">55</a> }
+<a name="56" href="#56">56</a>
+<a name="57" href="#57">57</a> <strong class="jxr_keyword">public</strong> String getInfo() {
+<a name="58" href="#58">58</a> <strong class="jxr_keyword">return</strong> info;
+<a name="59" href="#59">59</a> }
+<a name="60" href="#60">60</a>
+<a name="61" href="#61">61</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setInfo(String info) {
+<a name="62" href="#62">62</a> <strong class="jxr_keyword">this</strong>.info = info;
+<a name="63" href="#63">63</a> }
+<a name="64" href="#64">64</a>
+<a name="65" href="#65">65</a> <strong class="jxr_keyword">public</strong> String getClassDocs() {
+<a name="66" href="#66">66</a> <strong class="jxr_keyword">return</strong> classDocs;
+<a name="67" href="#67">67</a> }
+<a name="68" href="#68">68</a>
+<a name="69" href="#69">69</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setClassDocs(String classDocs) {
+<a name="70" href="#70">70</a> <strong class="jxr_keyword">this</strong>.classDocs = classDocs;
+<a name="71" href="#71">71</a> }
+<a name="72" href="#72">72</a>
+<a name="73" href="#73">73</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getType() {
+<a name="74" href="#74">74</a> <strong class="jxr_keyword">return</strong> type;
+<a name="75" href="#75">75</a> }
+<a name="76" href="#76">76</a>
+<a name="77" href="#77">77</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setType(<strong class="jxr_keyword">int</strong> type) {
+<a name="78" href="#78">78</a> <strong class="jxr_keyword">this</strong>.type = type;
+<a name="79" href="#79">79</a> }
+<a name="80" href="#80">80</a>
+<a name="81" href="#81">81</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+