You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by jo...@apache.org on 2005/06/05 13:24:13 UTC
svn commit: r180080 [18/18] - in /james/mime4j/trunk: ./ bin/ lib/ src/
src/java/ src/java/org/ src/java/org/mime4j/ src/java/org/mime4j/decoder/
src/java/org/mime4j/field/ src/java/org/mime4j/field/address/
src/java/org/mime4j/field/address/parser/
src/java/org/mime4j/field/contenttype/
src/java/org/mime4j/field/contenttype/parser/
src/java/org/mime4j/field/datetime/
src/java/org/mime4j/field/datetime/parser/ src/java/org/mime4j/message/
src/java/org/mime4j/util/ src/test/ src/test/org/ src/test/org/mime4j/
src/test/org/mime4j/decoder/ src/test/org/mime4j/field/
src/test/org/mime4j/field/address/ src/test/org/mime4j/field/contenttype/
src/test/org/mime4j/field/datetime/ src/test/org/mime4j/message/
src/test/org/mime4j/util/ testmsgs/ xdocs/ xdocs/start/
Added: james/mime4j/trunk/testmsgs/uu-zeegee.xml
URL: http://svn.apache.org/viewcvs/james/mime4j/trunk/testmsgs/uu-zeegee.xml?rev=180080&view=auto
==============================================================================
--- james/mime4j/trunk/testmsgs/uu-zeegee.xml (added)
+++ james/mime4j/trunk/testmsgs/uu-zeegee.xml Sun Jun 5 04:24:03 2005
@@ -0,0 +1,133 @@
+<message>
+<header>
+<field>
+From: me</field>
+<field>
+To: you</field>
+<field>
+Subject: uudecoding</field>
+</header>
+<body>
+I've uuencoded the ZeeGee logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F<'MSTQ0
+M%(@)YMB\;W%)@$<.(*:5W2F2@<=F8]>LH4P[7)P.T&NZI7Z,(&JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&.#=A6P!P`/<```````@("!`0$#D`(3D`*4(`*1@8&$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,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!#SP`!B:K58RYLT":T'X0V:X*0"L9I!
+M@*5+T*@$L04T^P]!.[1N*Z`!8`X\P`&CV8I)*Q!EN*(,@+F(N)][RP#75[K7
+M%X4D>A#*.)SF5XXVR0$,F+#_((D"80`,(+G.A[<!P*P'.7_!2`,&X("9B+F@
+MT+D"T7\)^X7;F!#NT*5.NWMD*7YJ"H8#\;*U.ZYM2Q`H,)79%P#P.A"KQ\FL
+MLZ@/8X@"_U"\ZXJT6`M_7^@-!A"U"/&&6Q"%\Y>WQ^N\CCA_#-M]^%>.D_L/
+M\&B^`T&!4BH0%%@&OS<-3=A^4PH`Z7N^'2A^U:<)#&``LAM]\\BI!3%_Y9F?
+MFS@0;4H0Y0BS=UO`#>RB*/F=_R<`J&J^+VF3!(&(=FB>*'#!!G&"FL"X2]@&
+M61FQ!?$*7SL//_C#;:@/_SN'6_"3@P!]M_"EB.J`@_"36T#"5EK%5GS%6)S%
+36KS%7-S%7OS%8!S&8IP1`<$`.P``
+`
+end
+
+</body>
+</message>
Added: james/mime4j/trunk/testmsgs/uu-zeegee_decoded.mime4j.xml
URL: http://svn.apache.org/viewcvs/james/mime4j/trunk/testmsgs/uu-zeegee_decoded.mime4j.xml?rev=180080&view=auto
==============================================================================
--- james/mime4j/trunk/testmsgs/uu-zeegee_decoded.mime4j.xml (added)
+++ james/mime4j/trunk/testmsgs/uu-zeegee_decoded.mime4j.xml Sun Jun 5 04:24:03 2005
@@ -0,0 +1,11 @@
+<message>
+<header>
+<field>
+From: me</field>
+<field>
+To: you</field>
+<field>
+Subject: uudecoding</field>
+</header>
+<text-body name="uu-zeegee_decoded_1.txt"/>
+</message>
Added: james/mime4j/trunk/testmsgs/uu-zeegee_decoded.xml
URL: http://svn.apache.org/viewcvs/james/mime4j/trunk/testmsgs/uu-zeegee_decoded.xml?rev=180080&view=auto
==============================================================================
--- james/mime4j/trunk/testmsgs/uu-zeegee_decoded.xml (added)
+++ james/mime4j/trunk/testmsgs/uu-zeegee_decoded.xml Sun Jun 5 04:24:03 2005
@@ -0,0 +1,11 @@
+<message>
+<header>
+<field>
+From: me</field>
+<field>
+To: you</field>
+<field>
+Subject: uudecoding</field>
+</header>
+<text-body name="uu-zeegee_decoded_1.txt"/>
+</message>
Added: james/mime4j/trunk/testmsgs/uu-zeegee_decoded_1.txt
URL: http://svn.apache.org/viewcvs/james/mime4j/trunk/testmsgs/uu-zeegee_decoded_1.txt?rev=180080&view=auto
==============================================================================
--- james/mime4j/trunk/testmsgs/uu-zeegee_decoded_1.txt (added)
+++ james/mime4j/trunk/testmsgs/uu-zeegee_decoded_1.txt Sun Jun 5 04:24:03 2005
@@ -0,0 +1,121 @@
+I've uuencoded the ZeeGee logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F<'MSTQ0
+M%(@)YMB\;W%)@$<.(*:5W2F2@<=F8]>LH4P[7)P.T&NZI7Z,(&JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&.#=A6P!P`/<```````@("!`0$#D`(3D`*4(`*1@8&$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,(.6,(0BDI*5H0.6L(0FL(2F,0
+M.6,00G,(2C$Q,4(I,6L02GL(4G,04G,02FL80H0(4H0(6E(I.7,80HP(6CDY
+M.6LA0D(Y.90(6I0(8XP06G,A2H084H086I008U(Y0GLA4D)"0G,I2H0A2G,I
+M4H0A4H0A6H0I4I0A8TI*2FLY4GLQ6G,Y4I0I8U)24F-*4EI22I0Q8Y0Q:YPQ
+M:Y0Y6I0Y8X1"6I0Y:UI:6HQ"6H1*8Z4Y<YQ"8XQ*:ZTY:Y1*8YQ">V-C8WM:
+M8Z5"<Y12:Z5*:WMC8ZU*:VMK:ZU*<ZU*>X1C:Y1:<WMK:Z52>ZU2<Z5::[52
+M<W-S<XQK:ZU:<ZU:A+5:A*UC<XQS<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FB>*'#!!G&"FL"X2]@&
+M61FQ!?$*7SL//_C#;:@/_SN'6_"3@P!]M_"EB.J`@_"36T#"5EK%5GS%6)S%
+36KS%7-S%7OS%8!S&8IP1`<$`.P``
+`
+end
+
Added: james/mime4j/trunk/xdocs/index.xml
URL: http://svn.apache.org/viewcvs/james/mime4j/trunk/xdocs/index.xml?rev=180080&view=auto
==============================================================================
--- james/mime4j/trunk/xdocs/index.xml (added)
+++ james/mime4j/trunk/xdocs/index.xml Sun Jun 5 04:24:03 2005
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+<!--
+/*
+ * Copyright 2004 Trillian AB
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+<document>
+ <properties>
+ <title>Mime4j</title>
+ </properties>
+ <body>
+ <section name="Mime4j">
+ <p> mime4j provides a parser,
+ <a href="apidocs/org/mime4j/MimeStreamParser.html">
+ <code>MimeStreamParser</code>
+ </a>, for e-mail message streams in plain rfc822 format or MIME
+ format. The parser uses a callback mechanism to report parsing
+ events such as the start of an entity header, the start of a
+ body, etc. If you are familiar to how one uses <a
+ href="http://www.saxproject.org/">SAX</a> to parse XML streams
+ you should have no problem getting started with mime4j. </p>
+ <p> The parser only deals with the structure of the message stream.
+ It won't do any decoding of base64 or quoted-printable encoded
+ header fields and bodies. This is intentional - the parser
+ should only provide the most basic functionality needed to build
+ more complex parsers. However, mime4j does include facilities to
+ decode bodies and fields and the <code>Message</code> class
+ described below handles decoding of fields and bodies
+ transparently. </p>
+ <p> The parser has been designed to be extremely tolerant against
+ messages violating the standards. It has been tested using a
+ large corpus (>5000) of e-mail messages. As a benchmark
+ the widely used perl <a
+ href="http://www.zeegee.com/code/perl/MIME-tools/">MIME::Tools</a>
+ parser has been used. mime4j and MIME:Tools rarely differ
+ (<25 in those 5000). When they do (which mostly happens
+ with illegally formatted spam messages) we think mime4j does a
+ better job. </p>
+ <p> mime4j can also be used to build a tree representation of an
+ e-mail message using the
+ <a href="apidocs/org/mime4j/message/Message.html">
+ <code>Message</code>
+ </a>. Using this facility mime4j automatically handles the
+ decoding of fields and bodies and uses temporary files for large
+ attachments. This representation is similar to the
+ representation constructed by the JavaMail API:s but is more
+ tolerant to messages violating the standards. </p>
+ </section>
+ </body>
+</document>
Added: james/mime4j/trunk/xdocs/navigation.xml
URL: http://svn.apache.org/viewcvs/james/mime4j/trunk/xdocs/navigation.xml?rev=180080&view=auto
==============================================================================
--- james/mime4j/trunk/xdocs/navigation.xml (added)
+++ james/mime4j/trunk/xdocs/navigation.xml Sun Jun 5 04:24:03 2005
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+/*
+ * Copyright 2004 Trillian AB
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+<project name="mime4j">
+ <title>mime4j</title>
+ <body>
+ <menu name="Quick Links">
+ <item name="Download" href="http://sourceforge.net/project/showfiles.php?group_id=108895"/>
+ <item name="Forums" href="http://sourceforge.net/forum/?group_id=108895"/>
+ <item name="Mailing Lists" href="http://sourceforge.net/mail/?group_id=108895"/>
+ <item name="SourceForge project page" href="http://sourceforge.net/projects/mime4j/"/>
+ </menu>
+ <menu name="Overview">
+ <item name="Features" href="/features.html"/>
+ <item name="News and Status" href="/status.html"/>
+ <item name="Getting Started" href="/start/index.html" collapse="true">
+ <item name="Download" href="/start/download.html"/>
+ <item name="Build" href="/start/build.html"/>
+ </item>
+ </menu>
+ <menu name="Documentation">
+ <item name="Tutorial" href="/start/use.html"/>
+ <item name="API docs (Javadoc)" href="/apidocs/"/>
+ </menu>
+ </body>
+</project>
Added: james/mime4j/trunk/xdocs/start/build.xml
URL: http://svn.apache.org/viewcvs/james/mime4j/trunk/xdocs/start/build.xml?rev=180080&view=auto
==============================================================================
--- james/mime4j/trunk/xdocs/start/build.xml (added)
+++ james/mime4j/trunk/xdocs/start/build.xml Sun Jun 5 04:24:03 2005
@@ -0,0 +1,80 @@
+<?xml version="1.0"?>
+<!--
+/*
+ * Copyright 2004 Trillian AB
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+<document>
+ <properties>
+ <title>Building mime4j</title>
+ </properties>
+ <body>
+ <section name="Building mime4j">
+ <subsection name="Getting the sources">
+ <subsection name="Using a stable release">
+ <p> Go to the <a
+ href="http://sourceforge.net/project/showfiles.php?group_id=108895">
+ Sourceforge download pages</a> and download the most
+ recent release in your prefered format, either
+ <code>mime4j-x.y-src.tar.gz</code> or
+ <code>mime4j-x.y-src.zip</code>. Extracting the archived
+ sources will create the directory <code>mime4j-x.y/</code>
+ </p>
+ </subsection>
+ <subsection name="Checking out from CVS">
+ <p>
+ <strong>If you </strong>
+ </p>
+ <p> The <a
+ href="http://sourceforge.net/tracker/?group_id=108895&atid=654176">
+ Sourceforge CVS pages</a> has more information on
+ how to checkout the sources from the CVS repository. </p>
+ </subsection>
+ </subsection>
+ <subsection name="Download and install Maven">
+ <p> You will need to download and install <a
+ href="http://maven.apache.org/">Maven</a> before building
+ the sources. The build has been tested with version 1.0 of
+ Maven so use this or a later version if possible. </p>
+ <p> One of the main differences between Maven and plain ant is
+ that Maven manages external dependencies for your projects
+ and (at least in theory) you should no longer have to store
+ third-party jar files in your CVS tree. It maintains a local
+ repository of versioned libraries and shares them between
+ your Maven projects. If it can't find the necessary files
+ there it will attempt to download them from the main Maven
+ repository at www.ibiblio.org/maven. So to use the Maven
+ build, you need to have a network connection available for
+ the inital download of the project dependencies. </p>
+ </subsection>
+ <subsection name="Building the mime4j jar">
+ <p> Once Maven has been installed, building the project should
+ be as simple as typing <blockquote>
+ <code>cd mime4j-x.y/ (cd mime4j/ if sources come from
+ CVS)<br/>maven jar</code>
+ </blockquote> from the command line. Maven will
+ automatically run all test cases for you. If you want to
+ disable the tests you should replace the last command above
+ with <blockquote>
+ <code>maven -Dmaven.test.skip=true jar</code>
+ </blockquote> Maven will create the
+ <code>mime4j-x.y.jar</code> jar file in the
+ <code>target</code> directory. For more information on using
+ Maven, have a look at the <a
+ href="http://maven.apache.org/">Maven web site</a>. </p>
+ </subsection>
+ </section>
+ </body>
+</document>
Added: james/mime4j/trunk/xdocs/start/download.xml
URL: http://svn.apache.org/viewcvs/james/mime4j/trunk/xdocs/start/download.xml?rev=180080&view=auto
==============================================================================
--- james/mime4j/trunk/xdocs/start/download.xml (added)
+++ james/mime4j/trunk/xdocs/start/download.xml Sun Jun 5 04:24:03 2005
@@ -0,0 +1,35 @@
+<?xml version="1.0"?>
+<!--
+/*
+ * Copyright 2004 Trillian AB
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+ -->
+<document>
+ <properties>
+ <title>Downloading mime4j</title>
+ </properties>
+ <body>
+ <section name="Downloading mime4j">
+ <p> Go to the <a
+ href="http://sourceforge.net/project/showfiles.php?group_id=108895">
+ Sourceforge download pages</a> and download the most recent
+ release in your prefered format, either
+ <code>mime4j-x.y.tar.gz</code> or <code>mime4j-x.y.zip</code>.
+ Extracting the archived sources will create the directory
+ <code>mime4j-x.y/</code> which contains the mime4j jar file and
+ the API docs.</p>
+ </section>
+ </body>
+</document>
Added: james/mime4j/trunk/xdocs/start/index.xml
URL: http://svn.apache.org/viewcvs/james/mime4j/trunk/xdocs/start/index.xml?rev=180080&view=auto
==============================================================================
--- james/mime4j/trunk/xdocs/start/index.xml (added)
+++ james/mime4j/trunk/xdocs/start/index.xml Sun Jun 5 04:24:03 2005
@@ -0,0 +1,26 @@
+<?xml version="1.0"?>
+<document>
+
+ <properties>
+ <title>Getting Started with mime4j</title>
+ </properties>
+
+ <body>
+ <section name="Getting Started with mime4j">
+
+ <subsection name="Overview of the Getting Started Documentation">
+ <table>
+ <tr><th>Document</th><th>Description</th></tr>
+ <tr><td><a href="download.html">Download</a></td>
+ <td>
+ Before you can start using mime4j, you'll have
+ to download the distribution to your system (unless
+ you plan on building the project from source). This document
+ provides links to the various distributions available.
+ </td>
+ </tr>
+ </table>
+ </subsection>
+ </section>
+ </body>
+</document>
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org