[apache-mime4j] 03/19: Merge tag 'upstream/0.7.2'
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Mon Jul 7 11:59:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository apache-mime4j.
commit 60d66ea0063f3a5745be6c877d85d3263979a4c3
Merge: 52d6fee 14fff46
Author: David Paleino <dapal at debian.org>
Date: Fri Dec 28 17:02:05 2012 +0100
Merge tag 'upstream/0.7.2'
Upstream version 0.7.2
# gpg: Signature made ven 28 dic 2012 17:01:35 CET using DSA key ID 1392B174
# gpg: controllo il trustdb
# gpg: public key EFBA3881 is 6623 seconds newer than the signature
# gpg: public key F790126A is 2207 seconds newer than the signature
# gpg: public key F790126A is 2276 seconds newer than the signature
# gpg: public key F790126A is 2252 seconds newer than the signature
# gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
# gpg: public key EFBA3881 is 6623 seconds newer than the signature
# gpg: depth: 0 valid: 3 signed: 35 trust: 0-, 0q, 0n, 0m, 0f, 3u
# gpg: public key EFBA3881 is 6623 seconds newer than the signature
# gpg: depth: 1 valid: 35 signed: 107 trust: 1-, 0q, 0n, 1m, 33f, 0u
# gpg: public key EFBA3881 is 6623 seconds newer than the signature
# gpg: depth: 2 valid: 94 signed: 149 trust: 0-, 84q, 0n, 1m, 9f, 0u
# gpg: public key EFBA3881 is 6623 seconds newer than the signature
# gpg: depth: 3 valid: 17 signed: 45 trust: 0-, 15q, 0n, 0m, 2f, 0u
# gpg: il prossimo controllo del trustdb sarà fatto il 2013-01-30
# gpg: Good signature from "David Paleino <d.paleino at gmail.com>"
# gpg: aka "[jpeg image of size 6708]"
# gpg: aka "Hanska <aksnah at gmail.com>"
# gpg: aka "David Paleino <david.paleino at poste.it>"
# gpg: aka "David Paleino <dapal at debian.org>"
.gitignore | 5 +
BUILDING.txt | 49 +-
DEPENDENCIES | 11 +
LICENSE | 362 ++++++
LICENSE.txt | 451 -------
NOTICE | 13 +
NOTICE.txt | 14 -
README | 26 +
RELEASE_NOTES.txt | 67 +-
assemble/pom.xml | 105 ++
assemble/src/assemble/bin.xml | 86 ++
assemble/src/reporting-site/site.xml | 29 +
benchmark/pom.xml | 57 +
.../james/mime4j/Base64InputStreamBench.java | 0
.../james/mime4j/Base64OutputStreamBench.java | 0
.../james/mime4j/LongMultipartReadBench.java | 195 +++
.../mime4j/QuotedPrintableInputStreamBench.java | 109 ++
.../mime4j/QuotedPrintableOutputStreamBench.java | 70 +
.../src/main}/resources/long-multipart.msg | 0
benchmark/src/reporting-site/site.xml | 29 +
.../james/mime4j/LongMultipartReadBench.java | 189 ---
core/pom.xml | 66 +
.../appended-resources/supplemental-models.xml | 57 +
.../org/apache/james/mime4j/MimeException.java | 65 +
.../org/apache/james/mime4j/MimeIOException.java | 58 +
.../james/mime4j/codec/Base64InputStream.java | 286 +++++
.../james/mime4j/codec/Base64OutputStream.java | 321 +++++
.../org/apache/james/mime4j/codec/CodecUtil.java | 108 ++
.../apache/james/mime4j/codec/DecodeMonitor.java | 63 +
.../org/apache/james/mime4j/codec/DecoderUtil.java | 256 ++++
.../org/apache/james/mime4j/codec/EncoderUtil.java | 603 +++++++++
.../mime4j/codec/QuotedPrintableInputStream.java | 309 +++++
.../mime4j/codec/QuotedPrintableOutputStream.java | 239 ++++
.../mime4j/io/BufferedLineReaderInputStream.java | 389 ++++++
.../james/mime4j/io/EOLConvertingInputStream.java | 107 ++
.../apache/james/mime4j/io/LimitedInputStream.java | 67 +
.../james/mime4j/io/LineNumberInputStream.java | 67 +
.../apache/james/mime4j/io/LineNumberSource.java | 30 +
.../james/mime4j/io/LineReaderInputStream.java | 64 +
.../mime4j/io/LineReaderInputStreamAdaptor.java | 148 +++
.../mime4j/io/MaxHeaderLengthLimitException.java | 35 +
.../james/mime4j/io/MaxHeaderLimitException.java | 35 +
.../james/mime4j/io/MaxLineLimitException.java | 36 +
.../james/mime4j/io/MimeBoundaryInputStream.java | 356 ++++++
.../james/mime4j/io/PositionInputStream.java | 91 ++
.../mime4j/parser/AbstractContentHandler.java | 75 ++
.../apache/james/mime4j/parser/ContentHandler.java | 202 +++
.../james/mime4j/parser/MimeStreamParser.java | 244 ++++
.../james/mime4j/stream/BasicBodyDescriptor.java | 95 ++
.../apache/james/mime4j/stream/BodyDescriptor.java | 34 +
.../james/mime4j/stream/BodyDescriptorBuilder.java | 77 ++
.../james/mime4j/stream/ContentDescriptor.java | 81 ++
.../james/mime4j/stream/DefaultFieldBuilder.java | 95 ++
.../apache/james/mime4j/stream/EntityState.java | 94 ++
.../james/mime4j/stream/EntityStateMachine.java | 112 ++
.../java/org/apache/james/mime4j/stream/Event.java | 74 ++
.../stream/FallbackBodyDescriptorBuilder.java | 211 +++
.../java/org/apache/james/mime4j/stream/Field.java | 52 +
.../apache/james/mime4j/stream/FieldBuilder.java | 69 +
.../org/apache/james/mime4j/stream/MimeConfig.java | 273 ++++
.../org/apache/james/mime4j/stream/MimeEntity.java | 569 +++++++++
.../mime4j/stream/MimeParseEventException.java | 50 +
.../james/mime4j/stream/MimeTokenStream.java | 394 ++++++
.../apache/james/mime4j/stream/NameValuePair.java | 81 ++
.../apache/james/mime4j/stream/ParserCursor.java | 88 ++
.../org/apache/james/mime4j/stream/RawBody.java | 65 +
.../org/apache/james/mime4j/stream/RawEntity.java | 98 ++
.../org/apache/james/mime4j/stream/RawField.java | 96 ++
.../apache/james/mime4j/stream/RawFieldParser.java | 380 ++++++
.../apache/james/mime4j/stream/RecursionMode.java | 45 +
.../apache/james/mime4j/util/ByteArrayBuffer.java | 181 +++
.../org/apache/james/mime4j/util/ByteSequence.java | 58 +
.../org/apache/james/mime4j/util/CharsetUtil.java | 146 +++
.../org/apache/james/mime4j/util/ContentUtil.java | 165 +++
.../james/mime4j/util/EmptyByteSequence.java | 36 +
.../org/apache/james/mime4j/util/LangUtils.java | 69 +
.../org/apache/james/mime4j/util/MimeUtil.java | 313 +++++
core/src/main/javadoc/overview.html | 41 +
core/src/reporting-site/site.xml | 29 +
.../java/org/apache/james/mime4j/EncodeUtils.java | 111 ++
.../java/org/apache/james/mime4j/ExampleMail.java | 705 ++++++++++
.../org/apache/james/mime4j/MimeExceptionTest.java | 46 +
.../apache/james/mime4j/MimeIOExceptionTest.java | 33 +
.../java/org/apache/james/mime4j/TestUtil.java | 73 ++
.../james/mime4j/codec/Base64InputStreamTest.java | 286 +++++
.../james/mime4j/codec/Base64OutputStreamTest.java | 217 ++++
.../apache/james/mime4j/codec/CodecUtilTest.java | 163 +++
.../apache/james/mime4j/codec/DecoderUtilTest.java | 129 ++
.../apache/james/mime4j/codec/EncoderUtilTest.java | 0
.../mime4j/codec/QuotedPrintableEncodeTest.java | 141 ++
.../codec/QuotedPrintableInputStreamTest.java | 174 +++
.../codec/QuotedPrintableOutputStreamTest.java | 109 ++
.../codec/QuotedPrintableTextEncodeTest.java | 183 +++
.../BufferedLineReaderInputStreamBufferTest.java | 211 +++
.../io/BufferedLineReaderInputStreamTest.java | 166 +++
.../mime4j/io/EOLConvertingInputStreamTest.java | 120 ++
.../james/mime4j/io/LimitedInputStreamTest.java | 56 +
.../james/mime4j/io/LineNumberInputStreamTest.java | 81 ++
.../io/LineReaderInputStreamAdaptorTest.java | 169 +++
.../mime4j/io/MimeBoundaryInputStreamTest.java | 330 +++++
.../james/mime4j/io/PositionInputStreamTest.java | 53 +
.../MimeStreamParserExampleMessagesTest.java | 128 ++
.../james/mime4j/parser/MimeStreamParserTest.java | 426 +++++++
.../apache/james/mime4j/parser/TestHandler.java | 113 ++
.../mime4j/stream/DefaultFieldBuilderTest.java | 136 ++
.../stream/FallbackBodyDescriptorBuilderTest.java | 166 +++
.../apache/james/mime4j/stream/MimeEntityTest.java | 692 ++++++++++
.../stream/MimeStreamTokenMessageRfc822Test.java | 99 ++
.../stream/MimeTokenEmbeddedMessageTest.java | 214 ++++
.../mime4j/stream/MimeTokenNoRecurseTest.java | 220 ++++
.../stream/MimeTokenStreamBodyDescriptorTest.java | 95 ++
.../mime4j/stream/MimeTokenStreamReaderTest.java | 139 ++
.../james/mime4j/stream/MimeTokenStreamTest.java | 82 ++
.../james/mime4j/stream/MultipartStreamTest.java | 147 +++
.../james/mime4j/stream/MultipartTokensTest.java | 306 +++++
.../james/mime4j/stream/RawFieldParserTest.java | 433 +++++++
.../apache/james/mime4j/stream/RawFieldTest.java | 64 +
.../mime4j/stream/StrictMimeTokenStreamTest.java | 104 ++
.../apache/james/mime4j/util/CharsetUtilTest.java | 58 +
.../org/apache/james/mime4j/util/MimeUtilTest.java | 0
.../james/mime4j/util/TestByteArrayBuffer.java | 231 ++++
.../mimetools-testmsgs/2002_06_12_doublebound.msg | 240 ++++
.../mimetools-testmsgs/2002_06_12_doublebound.out | 242 ++++
.../mimetools-testmsgs/2002_06_12_doublebound.xml | 274 ++++
.../2002_06_12_doublebound_decoded.xml | 58 +
.../2002_06_12_doublebound_decoded_1_1.txt | 4 +
.../2002_06_12_doublebound_decoded_1_2.txt | 0
.../2002_06_12_doublebound_decoded_1_3.txt | 210 +++
.../mimetools-testmsgs/ARTISTIC-LICENSE.txt | 129 ++
.../test/resources/mimetools-testmsgs/README.txt | 2 +
.../test/resources/mimetools-testmsgs/ak-0696.msg | 111 ++
.../test/resources/mimetools-testmsgs/ak-0696.out | 116 ++
.../test/resources/mimetools-testmsgs/ak-0696.xml | 164 +++
.../mimetools-testmsgs/ak-0696_decoded.xml | 105 ++
.../mimetools-testmsgs/ak-0696_decoded_1_1.txt | 2 +
.../mimetools-testmsgs/ak-0696_decoded_1_2_1.txt | 51 +
.../attachment-filename-encoding-Latin1.msg | 20 +
.../attachment-filename-encoding-Latin1.out | 22 +
.../attachment-filename-encoding-Latin1.xml | 41 +
...attachment-filename-encoding-Latin1_decoded.xml | 38 +
...chment-filename-encoding-Latin1_decoded_1_1.txt | 1 +
...chment-filename-encoding-Latin1_decoded_1_2.txt | 1 +
.../attachment-filename-encoding-UTF8.msg | 20 +
.../attachment-filename-encoding-UTF8.out | 22 +
.../attachment-filename-encoding-UTF8.xml | 41 +
.../attachment-filename-encoding-UTF8_decoded.xml | 38 +
...tachment-filename-encoding-UTF8_decoded_1_1.txt | 1 +
...tachment-filename-encoding-UTF8_decoded_1_2.txt | 1 +
.../test/resources/mimetools-testmsgs/badbound.msg | 160 +++
.../test/resources/mimetools-testmsgs/badbound.out | 162 +++
.../test/resources/mimetools-testmsgs/badbound.xml | 188 +++
.../mimetools-testmsgs/badbound_decoded.xml | 188 +++
.../test/resources/mimetools-testmsgs/badfile.msg | 8 +
.../test/resources/mimetools-testmsgs/badfile.out | 8 +
.../test/resources/mimetools-testmsgs/badfile.xml | 19 +
.../mimetools-testmsgs/badfile_decoded.xml | 17 +
.../mimetools-testmsgs/badfile_decoded_1.txt | 1 +
.../mimetools-testmsgs/bluedot-postcard.msg | 138 ++
.../mimetools-testmsgs/bluedot-postcard.out | 118 ++
.../mimetools-testmsgs/bluedot-postcard.xml | 173 +++
.../bluedot-postcard_decoded.xml | 69 +
.../bluedot-postcard_decoded_1_1.txt | 3 +
.../bluedot-postcard_decoded_1_2_1.txt | 4 +
.../bluedot-postcard_decoded_1_2_2.bin | Bin 0 -> 4272 bytes
.../mimetools-testmsgs/bluedot-simple.msg | 100 ++
.../mimetools-testmsgs/bluedot-simple.out | 80 ++
.../mimetools-testmsgs/bluedot-simple.xml | 109 ++
.../mimetools-testmsgs/bluedot-simple_decoded.xml | 13 +
.../bluedot-simple_decoded_1.bin | Bin 0 -> 4272 bytes
.../resources/mimetools-testmsgs/double-bound.msg | 67 +
.../resources/mimetools-testmsgs/double-bound.out | 77 ++
.../resources/mimetools-testmsgs/double-bound.xml | 139 ++
.../mimetools-testmsgs/double-bound_decoded.xml | 115 ++
.../double-bound_decoded_1_1.txt | 0
.../double-bound_decoded_1_10.bin | Bin 0 -> 357 bytes
.../double-bound_decoded_1_2.txt | 6 +
.../double-bound_decoded_1_3.txt | 0
.../double-bound_decoded_1_4.txt | 1 +
.../double-bound_decoded_1_5.txt | 0
.../double-bound_decoded_1_6.txt | 1 +
.../double-bound_decoded_1_7.txt | 0
.../double-bound_decoded_1_8.txt | 0
.../double-bound_decoded_1_9.txt | 0
.../mimetools-testmsgs/double-semicolon.msg | 17 +
.../mimetools-testmsgs/double-semicolon.out | 17 +
.../mimetools-testmsgs/double-semicolon.xml | 34 +
.../mimetools-testmsgs/double-semicolon2.msg | 17 +
.../mimetools-testmsgs/double-semicolon2.out | 17 +
.../mimetools-testmsgs/double-semicolon2.xml | 34 +
.../double-semicolon2_decoded.xml | 30 +
.../double-semicolon2_decoded_1_1.txt | 1 +
.../double-semicolon2_decoded_1_2.txt | 1 +
.../double-semicolon_decoded.xml | 30 +
.../double-semicolon_decoded_1_1.txt | 1 +
.../double-semicolon_decoded_1_2.txt | 1 +
.../resources/mimetools-testmsgs/dup-names.msg | 78 ++
.../resources/mimetools-testmsgs/dup-names.out | 83 ++
.../resources/mimetools-testmsgs/dup-names.xml | 125 ++
.../mimetools-testmsgs/dup-names_decoded.xml | 88 ++
.../mimetools-testmsgs/dup-names_decoded_1_1.bin | Bin 0 -> 419 bytes
.../mimetools-testmsgs/dup-names_decoded_1_2.bin | Bin 0 -> 357 bytes
.../mimetools-testmsgs/dup-names_decoded_1_3.bin | Bin 0 -> 419 bytes
.../mimetools-testmsgs/dup-names_decoded_1_4.bin | Bin 0 -> 357 bytes
.../mimetools-testmsgs/dup-names_decoded_1_5.bin | Bin 0 -> 357 bytes
.../mimetools-testmsgs/empty-preamble.msg | 27 +
.../mimetools-testmsgs/empty-preamble.out | 29 +
.../mimetools-testmsgs/empty-preamble.xml | 49 +
.../mimetools-testmsgs/empty-preamble_decoded.xml | 37 +
.../empty-preamble_decoded_1_1.txt | 6 +
.../empty-preamble_decoded_1_2.bin | Bin 0 -> 160 bytes
.../src/test/resources/mimetools-testmsgs/frag.msg | 1229 ++++++++++++++++++
.../src/test/resources/mimetools-testmsgs/frag.out | 1231 ++++++++++++++++++
.../src/test/resources/mimetools-testmsgs/frag.xml | 1348 ++++++++++++++++++++
.../resources/mimetools-testmsgs/frag_decoded.xml | 250 ++++
.../mimetools-testmsgs/frag_decoded_1_1.txt | 1 +
.../mimetools-testmsgs/frag_decoded_1_2_1_1.txt | 2 +
.../frag_decoded_1_2_1_2_1_1.txt | 1 +
.../frag_decoded_1_2_1_2_1_2_1_1.txt | 20 +
.../frag_decoded_1_2_1_2_1_2_1_2.bin | Bin 0 -> 60894 bytes
.../resources/mimetools-testmsgs/german-qp.msg | 27 +
.../resources/mimetools-testmsgs/german-qp.out | 29 +
.../resources/mimetools-testmsgs/german-qp.xml | 42 +
.../mimetools-testmsgs/german-qp_decoded.xml | 25 +
.../mimetools-testmsgs/german-qp_decoded_1.txt | 15 +
.../test/resources/mimetools-testmsgs/german.msg | 79 ++
.../test/resources/mimetools-testmsgs/german.out | 84 ++
.../test/resources/mimetools-testmsgs/german.xml | 107 ++
.../mimetools-testmsgs/german_decoded.xml | 54 +
.../mimetools-testmsgs/german_decoded_1.txt | 48 +
.../resources/mimetools-testmsgs/hdr-fakeout.msg | 15 +
.../resources/mimetools-testmsgs/hdr-fakeout.out | 13 +
.../resources/mimetools-testmsgs/hdr-fakeout.xml | 29 +
.../mimetools-testmsgs/hdr-fakeout_decoded.xml | 28 +
.../mimetools-testmsgs/hdr-fakeout_decoded_1.txt | 0
.../test/resources/mimetools-testmsgs/infinite.msg | 92 ++
.../test/resources/mimetools-testmsgs/infinite.out | 74 ++
.../test/resources/mimetools-testmsgs/infinite.xml | 101 ++
.../mimetools-testmsgs/infinite_decoded.xml | 13 +
.../mimetools-testmsgs/infinite_decoded_1.txt | 99 ++
.../src/test/resources/mimetools-testmsgs/intl.msg | 12 +
.../src/test/resources/mimetools-testmsgs/intl.out | 12 +
.../src/test/resources/mimetools-testmsgs/intl.xml | 23 +
.../resources/mimetools-testmsgs/intl_decoded.xml | 19 +
.../mimetools-testmsgs/intl_decoded_1.txt | 3 +
.../test/resources/mimetools-testmsgs/jt-0498.msg | 107 ++
.../test/resources/mimetools-testmsgs/jt-0498.out | 108 ++
.../test/resources/mimetools-testmsgs/jt-0498.xml | 166 +++
.../mimetools-testmsgs/jt-0498_decoded.xml | 126 ++
.../mimetools-testmsgs/jt-0498_decoded_1_1.txt | 30 +
.../mimetools-testmsgs/jt-0498_decoded_1_2_1.txt | 7 +
.../test/resources/mimetools-testmsgs/lennie.msg | 81 ++
.../test/resources/mimetools-testmsgs/lennie.out | 81 ++
.../test/resources/mimetools-testmsgs/lennie.xml | 119 ++
.../mimetools-testmsgs/lennie_decoded.xml | 76 ++
.../mimetools-testmsgs/lennie_decoded_1_1.txt | 1 +
.../mimetools-testmsgs/lennie_decoded_1_2.txt | 15 +
.../mimetools-testmsgs/lennie_decoded_1_3.bin | Bin 0 -> 1325 bytes
.../resources/mimetools-testmsgs/mp-msg-rfc822.msg | 112 ++
.../resources/mimetools-testmsgs/mp-msg-rfc822.out | 116 ++
.../resources/mimetools-testmsgs/mp-msg-rfc822.xml | 164 +++
.../mimetools-testmsgs/mp-msg-rfc822_decoded.xml | 105 ++
.../mp-msg-rfc822_decoded_1_1.txt | 2 +
.../mp-msg-rfc822_decoded_1_2_1.txt | 51 +
.../resources/mimetools-testmsgs/multi-2evil.msg | 58 +
.../resources/mimetools-testmsgs/multi-2evil.out | 60 +
.../resources/mimetools-testmsgs/multi-2evil.xml | 91 ++
.../mimetools-testmsgs/multi-2evil_decoded.xml | 62 +
.../mimetools-testmsgs/multi-2evil_decoded_1_1.txt | 13 +
.../mimetools-testmsgs/multi-2evil_decoded_1_2.bin | Bin 0 -> 419 bytes
.../mimetools-testmsgs/multi-2evil_decoded_1_3.bin | Bin 0 -> 357 bytes
.../mimetools-testmsgs/multi-2gifs-base64.msg | 48 +
.../mimetools-testmsgs/multi-2gifs-base64.out | 47 +
.../mimetools-testmsgs/multi-2gifs-base64.xml | 100 ++
.../multi-2gifs-base64_decoded.xml | 71 ++
.../multi-2gifs-base64_decoded_1_1_1.txt | 13 +
.../multi-2gifs-base64_decoded_1_1_2.bin | Bin 0 -> 419 bytes
.../multi-2gifs-base64_decoded_1_1_3.bin | Bin 0 -> 357 bytes
.../resources/mimetools-testmsgs/multi-2gifs.msg | 57 +
.../resources/mimetools-testmsgs/multi-2gifs.out | 59 +
.../resources/mimetools-testmsgs/multi-2gifs.xml | 90 ++
.../mimetools-testmsgs/multi-2gifs_decoded.xml | 61 +
.../mimetools-testmsgs/multi-2gifs_decoded_1_1.txt | 13 +
.../mimetools-testmsgs/multi-2gifs_decoded_1_2.bin | Bin 0 -> 419 bytes
.../mimetools-testmsgs/multi-2gifs_decoded_1_3.bin | Bin 0 -> 357 bytes
.../resources/mimetools-testmsgs/multi-bad.msg | 181 +++
.../resources/mimetools-testmsgs/multi-bad.out | 183 +++
.../resources/mimetools-testmsgs/multi-bad.xml | 204 +++
.../mimetools-testmsgs/multi-bad_decoded.xml | 162 +++
.../mimetools-testmsgs/multi-bad_decoded_1_1.txt | 41 +
.../mimetools-testmsgs/multi-badnames.msg | 30 +
.../mimetools-testmsgs/multi-badnames.out | 30 +
.../mimetools-testmsgs/multi-badnames.xml | 54 +
.../mimetools-testmsgs/multi-badnames_decoded.xml | 46 +
.../multi-badnames_decoded_1_1.txt | 0
.../multi-badnames_decoded_1_2.txt | 3 +
.../multi-badnames_decoded_1_3.txt | 2 +
.../resources/mimetools-testmsgs/multi-clen.msg | 40 +
.../resources/mimetools-testmsgs/multi-clen.out | 40 +
.../resources/mimetools-testmsgs/multi-clen.xml | 65 +
.../mimetools-testmsgs/multi-clen_decoded.xml | 48 +
.../mimetools-testmsgs/multi-clen_decoded_1_1.txt | 2 +
.../mimetools-testmsgs/multi-clen_decoded_1_2.txt | 3 +
.../mimetools-testmsgs/multi-clen_decoded_1_3.txt | 10 +
.../resources/mimetools-testmsgs/multi-digest.msg | 30 +
.../resources/mimetools-testmsgs/multi-digest.out | 30 +
.../resources/mimetools-testmsgs/multi-digest.xml | 60 +
.../mimetools-testmsgs/multi-digest_decoded.xml | 55 +
.../multi-digest_decoded_1_1_1.txt | 2 +
.../multi-digest_decoded_1_2_1.txt | 2 +
.../resources/mimetools-testmsgs/multi-frag.msg | 90 ++
.../resources/mimetools-testmsgs/multi-frag.out | 90 ++
.../resources/mimetools-testmsgs/multi-frag.xml | 146 +++
.../mimetools-testmsgs/multi-frag_decoded.xml | 109 ++
.../mimetools-testmsgs/multi-frag_decoded_1_1.txt | 5 +
.../mimetools-testmsgs/multi-frag_decoded_1_2.txt | 4 +
.../multi-frag_decoded_1_3_1.bin | Bin 0 -> 419 bytes
.../multi-frag_decoded_1_3_2.bin | Bin 0 -> 399 bytes
.../mimetools-testmsgs/multi-frag_decoded_1_4.txt | 4 +
.../multi-frag_decoded_1_5_1.txt | 1 +
.../resources/mimetools-testmsgs/multi-igor.msg | 198 +++
.../resources/mimetools-testmsgs/multi-igor.out | 169 +++
.../resources/mimetools-testmsgs/multi-igor.xml | 234 ++++
.../resources/mimetools-testmsgs/multi-igor2.msg | 198 +++
.../resources/mimetools-testmsgs/multi-igor2.out | 169 +++
.../resources/mimetools-testmsgs/multi-igor2.xml | 234 ++++
.../mimetools-testmsgs/multi-igor2_decoded.xml | 69 +
.../mimetools-testmsgs/multi-igor2_decoded_1_1.txt | 16 +
.../mimetools-testmsgs/multi-igor2_decoded_1_2.txt | 76 ++
.../mimetools-testmsgs/multi-igor2_decoded_1_3.txt | 88 ++
.../mimetools-testmsgs/multi-igor2_decoded_1_4.txt | 28 +
.../mimetools-testmsgs/multi-igor_decoded.xml | 69 +
.../mimetools-testmsgs/multi-igor_decoded_1_1.txt | 16 +
.../mimetools-testmsgs/multi-igor_decoded_1_2.txt | 76 ++
.../mimetools-testmsgs/multi-igor_decoded_1_3.txt | 88 ++
.../mimetools-testmsgs/multi-igor_decoded_1_4.txt | 28 +
.../resources/mimetools-testmsgs/multi-nested.msg | 89 ++
.../resources/mimetools-testmsgs/multi-nested.out | 91 ++
.../resources/mimetools-testmsgs/multi-nested.xml | 145 +++
.../resources/mimetools-testmsgs/multi-nested2.msg | 89 ++
.../resources/mimetools-testmsgs/multi-nested2.out | 91 ++
.../resources/mimetools-testmsgs/multi-nested2.xml | 145 +++
.../mimetools-testmsgs/multi-nested2_decoded.xml | 112 ++
.../multi-nested2_decoded_1_1.txt | 5 +
.../multi-nested2_decoded_1_2.txt | 4 +
.../multi-nested2_decoded_1_3_1.bin | Bin 0 -> 419 bytes
.../multi-nested2_decoded_1_3_2.bin | Bin 0 -> 357 bytes
.../multi-nested2_decoded_1_4.txt | 4 +
.../multi-nested2_decoded_1_5_1.txt | 1 +
.../resources/mimetools-testmsgs/multi-nested3.msg | 89 ++
.../resources/mimetools-testmsgs/multi-nested3.out | 91 ++
.../resources/mimetools-testmsgs/multi-nested3.xml | 145 +++
.../mimetools-testmsgs/multi-nested3_decoded.xml | 112 ++
.../multi-nested3_decoded_1_1.txt | 5 +
.../multi-nested3_decoded_1_2.txt | 4 +
.../multi-nested3_decoded_1_3_1.bin | Bin 0 -> 419 bytes
.../multi-nested3_decoded_1_3_2.bin | Bin 0 -> 357 bytes
.../multi-nested3_decoded_1_4.txt | 4 +
.../multi-nested3_decoded_1_5_1.txt | 1 +
.../mimetools-testmsgs/multi-nested_decoded.xml | 112 ++
.../multi-nested_decoded_1_1.txt | 5 +
.../multi-nested_decoded_1_2.txt | 4 +
.../multi-nested_decoded_1_3_1.bin | Bin 0 -> 419 bytes
.../multi-nested_decoded_1_3_2.bin | Bin 0 -> 357 bytes
.../multi-nested_decoded_1_4.txt | 4 +
.../multi-nested_decoded_1_5_1.txt | 1 +
.../resources/mimetools-testmsgs/multi-simple.msg | 23 +
.../resources/mimetools-testmsgs/multi-simple.out | 23 +
.../resources/mimetools-testmsgs/multi-simple.xml | 42 +
.../mimetools-testmsgs/multi-simple_decoded.xml | 37 +
.../multi-simple_decoded_1_1.txt | 2 +
.../multi-simple_decoded_1_2.txt | 2 +
.../mimetools-testmsgs/multi-weirdspace.msg | 56 +
.../mimetools-testmsgs/multi-weirdspace.out | 58 +
.../mimetools-testmsgs/multi-weirdspace.xml | 88 ++
.../multi-weirdspace_decoded.xml | 59 +
.../multi-weirdspace_decoded_1_1.txt | 13 +
.../multi-weirdspace_decoded_1_2.bin | Bin 0 -> 419 bytes
.../multi-weirdspace_decoded_1_3.bin | Bin 0 -> 357 bytes
.../test/resources/mimetools-testmsgs/not-mime.msg | 17 +
.../test/resources/mimetools-testmsgs/not-mime.out | 17 +
.../test/resources/mimetools-testmsgs/not-mime.xml | 27 +
.../mimetools-testmsgs/not-mime_decoded.xml | 15 +
.../mimetools-testmsgs/not-mime_decoded_1.txt | 11 +
.../test/resources/mimetools-testmsgs/re-fwd.msg | 33 +
.../test/resources/mimetools-testmsgs/re-fwd.out | 33 +
.../test/resources/mimetools-testmsgs/re-fwd.xml | 72 ++
.../mimetools-testmsgs/re-fwd_decoded.xml | 69 +
.../mimetools-testmsgs/re-fwd_decoded_1_1_1.txt | 2 +
.../test/resources/mimetools-testmsgs/russian.msg | 7 +
.../test/resources/mimetools-testmsgs/russian.out | 7 +
.../test/resources/mimetools-testmsgs/russian.xml | 15 +
.../mimetools-testmsgs/russian_decoded.xml | 11 +
.../mimetools-testmsgs/russian_decoded_1.txt | 3 +
.../test/resources/mimetools-testmsgs/sig-uu.msg | 29 +
.../test/resources/mimetools-testmsgs/sig-uu.out | 29 +
.../test/resources/mimetools-testmsgs/sig-uu.xml | 36 +
.../mimetools-testmsgs/sig-uu_decoded.xml | 9 +
.../mimetools-testmsgs/sig-uu_decoded_1.txt | 26 +
.../test/resources/mimetools-testmsgs/simple.msg | 20 +
.../test/resources/mimetools-testmsgs/simple.out | 20 +
.../test/resources/mimetools-testmsgs/simple.xml | 31 +
.../mimetools-testmsgs/simple_decoded.xml | 17 +
.../mimetools-testmsgs/simple_decoded_1.txt | 13 +
.../resources/mimetools-testmsgs/ticket-60931.msg | 15 +
.../resources/mimetools-testmsgs/ticket-60931.out | 16 +
.../resources/mimetools-testmsgs/ticket-60931.xml | 33 +
.../mimetools-testmsgs/ticket-60931_decoded.xml | 29 +
.../ticket-60931_decoded_1_1.txt | 1 +
.../ticket-60931_decoded_1_2.txt | 1 +
.../test/resources/mimetools-testmsgs/twopart.msg | 571 +++++++++
.../test/resources/mimetools-testmsgs/twopart.out | 572 +++++++++
.../test/resources/mimetools-testmsgs/twopart.xml | 599 +++++++++
.../mimetools-testmsgs/twopart_decoded.xml | 54 +
.../mimetools-testmsgs/twopart_decoded_1_1.txt | 6 +
.../mimetools-testmsgs/twopart_decoded_1_2.bin | Bin 0 -> 30631 bytes
.../mimetools-testmsgs/uu-junk-target.msg | 182 +++
.../mimetools-testmsgs/uu-junk-target.out | 158 +++
.../mimetools-testmsgs/uu-junk-target.xml | 227 ++++
.../mimetools-testmsgs/uu-junk-target_decoded.xml | 98 ++
.../uu-junk-target_decoded_1_1.txt | 11 +
.../uu-junk-target_decoded_1_2_1.txt | 3 +
.../uu-junk-target_decoded_1_2_2.bin | Bin 0 -> 110 bytes
.../uu-junk-target_decoded_1_2_3.bin | Bin 0 -> 4834 bytes
.../test/resources/mimetools-testmsgs/uu-junk.msg | 168 +++
.../test/resources/mimetools-testmsgs/uu-junk.out | 167 +++
.../test/resources/mimetools-testmsgs/uu-junk.xml | 192 +++
.../mimetools-testmsgs/uu-junk_decoded.xml | 55 +
.../mimetools-testmsgs/uu-junk_decoded_1_1.txt | 11 +
.../mimetools-testmsgs/uu-junk_decoded_1_2.txt | 124 ++
.../resources/mimetools-testmsgs/uu-zeegee.msg | 125 ++
.../resources/mimetools-testmsgs/uu-zeegee.out | 125 ++
.../resources/mimetools-testmsgs/uu-zeegee.xml | 133 ++
.../mimetools-testmsgs/uu-zeegee_decoded.xml | 11 +
.../mimetools-testmsgs/uu-zeegee_decoded_1.txt | 121 ++
.../test/resources/mimetools-testmsgs/x-gzip64.msg | 13 +
.../test/resources/mimetools-testmsgs/x-gzip64.out | 13 +
.../test/resources/mimetools-testmsgs/x-gzip64.xml | 25 +
.../mimetools-testmsgs/x-gzip64_decoded.xml | 19 +
.../mimetools-testmsgs/x-gzip64_decoded_1.txt | 5 +
.../bad-newlines-multiple-parts-base64.msg | 0
.../bad-newlines-multiple-parts-base64.out | 0
.../bad-newlines-multiple-parts-base64.xml | 0
.../bad-newlines-multiple-parts-base64_decoded.xml | 0
...ewlines-multiple-parts-base64_decoded_1_1_1.txt | 0
.../testmsgs/bad-newlines-multiple-parts.msg | 0
.../testmsgs/bad-newlines-multiple-parts.out | 0
.../testmsgs/bad-newlines-multiple-parts.xml | 0
.../bad-newlines-multiple-parts_decoded.xml | 0
.../bad-newlines-multiple-parts_decoded_1_1.txt | 0
.../resources/testmsgs/base64-encoded-text.msg | 0
.../resources/testmsgs/base64-encoded-text.out | 0
.../resources/testmsgs/base64-encoded-text.xml | 0
.../testmsgs/base64-encoded-text_decoded.xml | 0
.../testmsgs/base64-encoded-text_decoded_1.txt | 0
.../base64encoded-rfc822message-nested.msg | 0
.../base64encoded-rfc822message-nested.out | 0
.../base64encoded-rfc822message-nested.xml | 0
.../base64encoded-rfc822message-nested_decoded.xml | 0
...4encoded-rfc822message-nested_decoded_1_1_1.txt | 0
.../testmsgs/base64encoded-rfc822message.msg | 0
.../testmsgs/base64encoded-rfc822message.out | 0
.../testmsgs/base64encoded-rfc822message.xml | 0
.../base64encoded-rfc822message_decoded.xml | 0
.../base64encoded-rfc822message_decoded_1_1.txt | 0
.../testmsgs/basic-plain-very-long-lines.msg | 0
.../testmsgs/basic-plain-very-long-lines.out | 0
.../testmsgs/basic-plain-very-long-lines.xml | 0
.../basic-plain-very-long-lines_decoded.xml | 0
.../basic-plain-very-long-lines_decoded_1.txt | 0
.../basic-plain-with-bad-header-separator.msg | 0
.../basic-plain-with-bad-header-separator.out | 0
.../basic-plain-with-bad-header-separator.xml | 0
...sic-plain-with-bad-header-separator_decoded.xml | 0
...c-plain-with-bad-header-separator_decoded_1.txt | 0
.../src}/test/resources/testmsgs/basic-plain.msg | 0
.../src}/test/resources/testmsgs/basic-plain.out | 0
.../src}/test/resources/testmsgs/basic-plain.xml | 0
.../resources/testmsgs/basic-plain_decoded.xml | 0
.../resources/testmsgs/basic-plain_decoded_1.txt | 0
.../test/resources/testmsgs/ending-boundaries.msg | 0
.../test/resources/testmsgs/ending-boundaries.out | 21 +
.../test/resources/testmsgs/ending-boundaries.xml | 31 +
.../testmsgs/ending-boundaries_decoded.xml | 29 +
.../testmsgs/ending-boundaries_decoded_1_1.txt | 0
.../src}/test/resources/testmsgs/example.msg | 0
.../src}/test/resources/testmsgs/example.out | 0
core/src/test/resources/testmsgs/example.xml | 211 +++
.../test/resources/testmsgs/example_decoded.xml | 135 ++
.../resources/testmsgs/example_decoded_1_1.txt | 0
.../resources/testmsgs/example_decoded_1_2.bin | Bin
.../resources/testmsgs/example_decoded_1_3.bin | Bin
.../resources/testmsgs/example_decoded_1_4.txt | 0
.../resources/testmsgs/intermediate-boundaries.msg | 0
.../resources/testmsgs/intermediate-boundaries.out | 0
.../resources/testmsgs/intermediate-boundaries.xml | 0
.../testmsgs/intermediate-boundaries_decoded.xml | 0
.../intermediate-boundaries_decoded_1_1.txt | 0
.../intermediate-boundaries_decoded_1_2.txt | 0
.../testmsgs/malformedHeader-nocrlfcrlf.msg | 5 +
.../testmsgs/malformedHeader-nocrlfcrlf.out | 4 +
.../testmsgs/malformedHeader-nocrlfcrlf.xml | 11 +
.../malformedHeader-nocrlfcrlf_decoded.xml | 9 +
.../malformedHeader-nocrlfcrlf_decoded_1.txt | 1 +
.../testmsgs/malformedHeader-noheader.msg | 2 +
.../testmsgs/malformedHeader-noheader.out | 1 +
.../testmsgs/malformedHeader-noheader.xml | 6 +
.../testmsgs/malformedHeader-noheader_decoded.xml | 5 +
.../malformedHeader-noheader_decoded_1.txt | 0
.../malformedHeaderStartsBody-nocrlfcrlf.msg | 5 +
.../malformedHeaderStartsBody-nocrlfcrlf.out | 5 +
.../malformedHeaderStartsBody-nocrlfcrlf.xml | 11 +
...alformedHeaderStartsBody-nocrlfcrlf_decoded.xml | 7 +
...formedHeaderStartsBody-nocrlfcrlf_decoded_1.txt | 3 +
.../malformedHeaderStartsBody-noheader.msg | 2 +
.../malformedHeaderStartsBody-noheader.out | 2 +
.../malformedHeaderStartsBody-noheader.xml | 7 +
.../malformedHeaderStartsBody-noheader_decoded.xml | 5 +
...alformedHeaderStartsBody-noheader_decoded_1.txt | 1 +
.../test/resources/testmsgs/misplaced-boundary.msg | 0
.../test/resources/testmsgs/misplaced-boundary.out | 0
.../test/resources/testmsgs/misplaced-boundary.xml | 21 +
.../testmsgs/misplaced-boundary_decoded.xml | 18 +
.../testmsgs/misplaced-boundary_decoded_1_1.txt | 0
.../test/resources/testmsgs/missing-boundary.msg | 4 +
.../test/resources/testmsgs/missing-boundary.out | 6 +
.../test/resources/testmsgs/missing-boundary.xml | 12 +
.../testmsgs/missing-boundary_decoded.xml | 12 +
.../resources/testmsgs/missing-inner-boundary.msg | 0
.../resources/testmsgs/missing-inner-boundary.out | 18 +
.../resources/testmsgs/missing-inner-boundary.xml | 34 +
.../testmsgs/missing-inner-boundary_decoded.xml | 32 +
.../missing-inner-boundary_decoded_1_1.txt | 0
.../missing-inner-boundary_decoded_1_2_1.txt | 0
.../testmsgs/missing-inner-start-boundary.msg | 17 +
.../testmsgs/missing-inner-start-boundary.out | 18 +
.../testmsgs/missing-inner-start-boundary.xml | 34 +
.../missing-inner-start-boundary_decoded.xml | 32 +
.../missing-inner-start-boundary_decoded_1_1.txt | 0
.../testmsgs/multipartdigestnestedemptyparts.msg | 26 +
.../testmsgs/multipartdigestnestedemptyparts.out | 27 +
.../testmsgs/multipartdigestnestedemptyparts.xml | 55 +
.../multipartdigestnestedemptyparts_decoded.xml | 54 +
...ipartdigestnestedemptyparts_decoded_1_1_1_1.txt | 0
.../test/resources/testmsgs/multipartemptypart.msg | 12 +
.../test/resources/testmsgs/multipartemptypart.out | 14 +
.../test/resources/testmsgs/multipartemptypart.xml | 29 +
.../testmsgs/multipartemptypart_decoded.xml | 28 +
.../testmsgs/multipartemptypart_decoded_1_1.txt | 0
.../testmsgs/multipartemptypart_decoded_1_2.txt | 0
.../testmsgs/multipartnestedemptyparts.msg | 27 +
.../testmsgs/multipartnestedemptyparts.out | 28 +
.../testmsgs/multipartnestedemptyparts.xml | 57 +
.../testmsgs/multipartnestedemptyparts_decoded.xml | 56 +
.../multipartnestedemptyparts_decoded_1_1.txt | 13 +
.../multipartnestedemptyparts_decoded_1_1_1_1.txt | 0
.../testmsgs/multipartnestedemptypartsnorfc822.msg | 21 +
.../testmsgs/multipartnestedemptypartsnorfc822.out | 22 +
.../testmsgs/multipartnestedemptypartsnorfc822.xml | 43 +
.../multipartnestedemptypartsnorfc822_decoded.xml | 42 +
...ipartnestedemptypartsnorfc822_decoded_1_1_1.txt | 0
.../test/resources/testmsgs/multipartnopart.msg | 11 +
.../test/resources/testmsgs/multipartnopart.out | 11 +
.../test/resources/testmsgs/multipartnopart.xml | 23 +
.../resources/testmsgs/multipartnopart_decoded.xml | 23 +
core/src/test/resources/testmsgs/obsolete.msg | 8 +
core/src/test/resources/testmsgs/obsolete.out | 7 +
core/src/test/resources/testmsgs/obsolete.xml | 15 +
.../test/resources/testmsgs/obsolete_decoded.xml | 13 +
.../test/resources/testmsgs/obsolete_decoded_1.txt | 1 +
.../src}/test/resources/testmsgs/qp-body.msg | 0
.../src}/test/resources/testmsgs/qp-body.out | 0
.../src}/test/resources/testmsgs/qp-body.xml | 0
.../test/resources/testmsgs/qp-body_decoded.xml | 0
.../test/resources/testmsgs/qp-body_decoded_1.txt | 0
.../test/resources/testmsgs/russian-headers.msg | 0
.../test/resources/testmsgs/russian-headers.out | 0
.../test/resources/testmsgs/russian-headers.xml | 0
.../resources/testmsgs/russian-headers_decoded.xml | 0
.../testmsgs/russian-headers_decoded_1.txt | 0
.../test/resources/testmsgs/simple-attachment.msg | 0
.../test/resources/testmsgs/simple-attachment.out | 0
.../test/resources/testmsgs/simple-attachment.xml | 0
.../testmsgs/simple-attachment_decoded.xml | 0
.../testmsgs/simple-attachment_decoded_1_1.txt | 0
.../testmsgs/simple-attachment_decoded_1_2.bin | Bin
.../test/resources/testmsgs/very-long-boundary.msg | 0
.../test/resources/testmsgs/very-long-boundary.out | 0
.../test/resources/testmsgs/very-long-boundary.xml | 0
.../testmsgs/very-long-boundary_decoded.xml | 0
.../testmsgs/very-long-boundary_decoded_1_1.txt | 0
.../resources/testmsgs/very-very-long-boundary.msg | 0
.../resources/testmsgs/very-very-long-boundary.out | 0
.../resources/testmsgs/very-very-long-boundary.xml | 0
.../testmsgs/very-very-long-boundary_decoded.xml | 0
.../very-very-long-boundary_decoded_1_1.txt | 0
.../test/resources/testmsgs/weird-boundary.msg | 0
.../test/resources/testmsgs/weird-boundary.out | 0
.../test/resources/testmsgs/weird-boundary.xml | 0
.../resources/testmsgs/weird-boundary_decoded.xml | 0
.../testmsgs/weird-boundary_decoded_1_1.txt | 0
dom/pom.xml | 89 ++
.../appended-resources/supplemental-models.xml | 57 +
.../org/apache/james/mime4j/dom/BinaryBody.java | 33 +
.../java/org/apache/james/mime4j/dom/Body.java | 46 +
.../org/apache/james/mime4j/dom/Disposable.java | 36 +
.../java/org/apache/james/mime4j/dom/Entity.java | 132 ++
.../org/apache/james/mime4j/dom/FieldParser.java | 37 +
.../java/org/apache/james/mime4j/dom/Header.java | 94 ++
.../java/org/apache/james/mime4j/dom/Message.java | 321 +++++
.../apache/james/mime4j/dom/MessageBuilder.java | 50 +
.../james/mime4j/dom/MessageServiceFactory.java | 43 +
.../org/apache/james/mime4j/dom/MessageWriter.java | 45 +
.../org/apache/james/mime4j/dom/Multipart.java | 142 +++
.../org/apache/james/mime4j/dom/ServiceLoader.java | 90 ++
.../james/mime4j/dom/ServiceLoaderException.java | 38 +
.../org/apache/james/mime4j/dom/SingleBody.java | 139 ++
.../java/org/apache/james/mime4j/dom/TextBody.java | 53 +
.../apache/james/mime4j/dom/address/Address.java | 48 +
.../james/mime4j/dom/address/AddressList.java | 98 ++
.../james/mime4j/dom/address/DomainList.java | 95 ++
.../org/apache/james/mime4j/dom/address/Group.java | 113 ++
.../apache/james/mime4j/dom/address/Mailbox.java | 204 +++
.../james/mime4j/dom/address/MailboxList.java | 68 +
.../apache/james/mime4j/dom/datetime/DateTime.java | 165 +++
.../james/mime4j/dom/field/AddressListField.java | 28 +
.../mime4j/dom/field/ContentDescriptionField.java | 31 +
.../mime4j/dom/field/ContentDispositionField.java | 136 ++
.../james/mime4j/dom/field/ContentIdField.java | 31 +
.../mime4j/dom/field/ContentLanguageField.java | 33 +
.../james/mime4j/dom/field/ContentLengthField.java | 31 +
.../mime4j/dom/field/ContentLocationField.java | 31 +
.../james/mime4j/dom/field/ContentMD5Field.java | 31 +
.../dom/field/ContentTransferEncodingField.java | 31 +
.../james/mime4j/dom/field/ContentTypeField.java | 107 ++
.../james/mime4j/dom/field/DateTimeField.java | 28 +
.../apache/james/mime4j/dom/field/FieldName.java | 60 +
.../james/mime4j/dom/field/MailboxField.java | 28 +
.../james/mime4j/dom/field/MailboxListField.java | 28 +
.../james/mime4j/dom/field/MimeVersionField.java | 28 +
.../james/mime4j/dom/field/ParseException.java | 64 +
.../apache/james/mime4j/dom/field/ParsedField.java | 49 +
.../james/mime4j/dom/field/UnstructuredField.java | 26 +
.../apache/james/mime4j/field/AbstractField.java | 97 ++
.../james/mime4j/field/AddressListFieldImpl.java | 84 ++
.../mime4j/field/AddressListFieldLenientImpl.java | 82 ++
.../mime4j/field/ContentDescriptionFieldImpl.java | 65 +
.../mime4j/field/ContentDispositionFieldImpl.java | 258 ++++
.../field/ContentDispositionFieldLenientImpl.java | 205 +++
.../james/mime4j/field/ContentIdFieldImpl.java | 65 +
.../mime4j/field/ContentLanguageFieldImpl.java | 82 ++
.../field/ContentLanguageFieldLenientImpl.java | 99 ++
.../james/mime4j/field/ContentLengthFieldImpl.java | 76 ++
.../mime4j/field/ContentLocationFieldImpl.java | 87 ++
.../field/ContentLocationFieldLenientImpl.java | 88 ++
.../james/mime4j/field/ContentMD5FieldImpl.java | 65 +
.../field/ContentTransferEncodingFieldImpl.java | 83 ++
.../james/mime4j/field/ContentTypeFieldImpl.java | 232 ++++
.../mime4j/field/ContentTypeFieldLenientImpl.java | 155 +++
.../james/mime4j/field/DateTimeFieldImpl.java | 89 ++
.../mime4j/field/DateTimeFieldLenientImpl.java | 106 ++
.../james/mime4j/field/DefaultFieldParser.java | 167 +++
.../james/mime4j/field/DelegatingFieldParser.java | 62 +
.../java/org/apache/james/mime4j/field/Fields.java | 635 +++++++++
.../james/mime4j/field/LenientFieldParser.java | 177 +++
.../james/mime4j/field/MailboxFieldImpl.java | 83 ++
.../mime4j/field/MailboxFieldLenientImpl.java | 77 ++
.../james/mime4j/field/MailboxListFieldImpl.java | 83 ++
.../mime4j/field/MailboxListFieldLenientImpl.java | 82 ++
.../james/mime4j/field/MimeVersionFieldImpl.java | 100 ++
.../mime4j/field/MimeVersionFieldLenientImpl.java | 113 ++
.../james/mime4j/field/UnstructuredFieldImpl.java | 66 +
.../james/mime4j/field/address/AddressBuilder.java | 120 ++
.../mime4j/field/address/AddressFormatter.java | 214 ++++
.../james/mime4j/field/address/BaseNode.java | 27 +
.../apache/james/mime4j/field/address/Builder.java | 229 ++++
.../field/address/LenientAddressBuilder.java | 338 +++++
.../james/mime4j/message/AbstractEntity.java | 556 ++++++++
.../james/mime4j/message/AbstractHeader.java | 205 +++
.../james/mime4j/message/AbstractMessage.java | 504 ++++++++
.../james/mime4j/message/AbstractMultipart.java | 237 ++++
.../james/mime4j/message/BasicBinaryBody.java | 47 +
.../james/mime4j/message/BasicBodyFactory.java | 86 ++
.../apache/james/mime4j/message/BasicTextBody.java | 62 +
.../apache/james/mime4j/message/BodyFactory.java | 65 +
.../org/apache/james/mime4j/message/BodyPart.java | 90 ++
.../message/DefaultBodyDescriptorBuilder.java | 149 +++
.../mime4j/message/DefaultMessageBuilder.java | 318 +++++
.../james/mime4j/message/DefaultMessageWriter.java | 271 ++++
.../apache/james/mime4j/message/EntityBuilder.java | 223 ++++
.../apache/james/mime4j/message/HeaderImpl.java | 35 +
.../mime4j/message/MaximalBodyDescriptor.java | 315 +++++
.../apache/james/mime4j/message/MessageImpl.java | 141 ++
.../mime4j/message/MessageServiceFactoryImpl.java | 99 ++
.../apache/james/mime4j/message/MultipartImpl.java | 127 ++
.../james/mime4j/message/SimpleContentHandler.java | 96 ++
.../apache/james/mime4j/message/StringBody.java | 62 +
.../james/mime4j/message/StringInputStream.java | 150 +++
.../contentdisposition/ContentDispositionParser.jj | 0
.../field/contentdisposition/ParseException.java | 220 ++++
.../mime4j/field/contenttype/ContentTypeParser.jj | 0
.../mime4j/field/contenttype/ParseException.java | 220 ++++
.../james/mime4j/field/datetime/DateTimeParser.jj | 344 +++++
.../mime4j/field/datetime/ParseException.java | 220 ++++
.../mime4j/field/language/ContentLanguageParser.jj | 0
.../mime4j/field/language/ParseException.java | 220 ++++
.../mime4j/field/mimeversion/MimeVersionParser.jj | 0
.../mime4j/field/mimeversion/ParseException.java | 220 ++++
.../mime4j/field/structured/ParseException.java | 220 ++++
.../field/structured/StructuredFieldParser.jj | 227 ++++
.../mime4j/field/address/AddressListParser.jjt | 358 ++++++
.../james/mime4j/field/address/ParseException.java | 220 ++++
dom/src/main/resources/META-INF/README | 26 +
...g.apache.james.mime4j.dom.MessageServiceFactory | 1 +
dom/src/reporting-site/site.xml | 29 +
.../org/apache/james/mime4j/dom/EntityTest.java | 129 ++
.../mime4j/dom/ExampleMessagesRoundtripTest.java | 130 ++
.../org/apache/james/mime4j/dom/HeaderTest.java | 139 ++
.../james/mime4j/dom/MessageCompleteMailTest.java | 62 +
.../mime4j/dom/MessageHeadlessParserTest.java | 109 ++
.../apache/james/mime4j/dom/MessageParserTest.java | 238 ++++
.../mime4j/dom/MessageServiceFactoryTest.java | 41 +
.../org/apache/james/mime4j/dom/MessageTest.java | 531 ++++++++
.../james/mime4j/dom/MessageWriteToTest.java | 95 ++
.../james/mime4j/dom/MimeBuilderCopyTest.java | 195 +++
.../apache/james/mime4j/dom/MultipartFormTest.java | 91 ++
.../mime4j/field/ContentDispositionFieldTest.java | 168 +++
.../mime4j/field/ContentLanguageFieldTest.java | 75 ++
.../mime4j/field/ContentLocationFieldTest.java | 63 +
.../field/ContentTransferEncodingFieldTest.java | 68 +
.../james/mime4j/field/ContentTypeFieldTest.java | 105 ++
.../org/apache/james/mime4j/field/FieldsTest.java | 405 ++++++
.../field/LenientContentDispositionFieldTest.java | 168 +++
.../field/LenientContentLanguageFieldTest.java | 84 ++
.../field/LenientContentLocationFieldTest.java | 63 +
.../mime4j/field/LenientContentTypeFieldTest.java | 90 ++
.../mime4j/field/LenientDateTimeFieldTest.java | 56 +
.../mime4j/field/LenientMimeVersionParserTest.java | 92 ++
.../james/mime4j/field/MimeVersionParserTest.java | 71 ++
.../james/mime4j/field/UnstructuredFieldTest.java | 42 +
.../james/mime4j/field/address/AddressTest.java | 154 +++
.../field/address/DefaultAddressBuilderTest.java | 307 +++++
.../field/address/DefaultAddressFormatterTest.java | 86 ++
.../field/address/LenientAddressBuilderTest.java | 412 ++++++
.../contentdisposition/ContentDispositionTest.java | 34 +
.../mime4j/field/contenttype/ContentTypeTest.java | 57 +
.../james/mime4j/field/datetime/DateTimeTest.java | 109 ++
.../field/mimeversion/MimeVersionParserTest.java | 80 ++
.../structured/StructuredFieldParserTest.java | 75 ++
.../mime4j/message/MaximalBodyDescriptorTest.java | 324 +++++
.../mime4j/message/StringInputStreamTest.java | 129 ++
examples/pom.xml | 52 +
.../james/mime4j/samples/dom/MultipartMessage.java | 187 ---
.../james/mime4j/samples/dom/TextPlainMessage.java | 70 -
.../mime4j/samples/transform/TransformMessage.java | 175 ---
.../james/mime4j/samples/tree/MessageTree.java | 385 ------
.../james/mime4j/samples/dom/LoggingMonitor.java | 44 +
.../james/mime4j/samples/dom/MultipartMessage.java | 191 +++
.../james/mime4j/samples/dom/TextPlainMessage.java | 74 ++
.../mime4j/samples/transform/TransformMessage.java | 187 +++
.../james/mime4j/samples/tree/MessageTree.java | 391 ++++++
examples/src/reporting-site/site.xml | 29 +
pom.xml | 575 +++------
src/assemble/bin.xml | 64 -
src/assemble/src.xml | 43 -
.../appended-resources/supplemental-models.xml | 95 --
.../org/apache/james/mime4j/MimeException.java | 58 -
.../org/apache/james/mime4j/MimeIOException.java | 52 -
.../james/mime4j/codec/Base64InputStream.java | 280 ----
.../james/mime4j/codec/Base64OutputStream.java | 321 -----
.../org/apache/james/mime4j/codec/ByteQueue.java | 62 -
.../org/apache/james/mime4j/codec/CodecUtil.java | 107 --
.../org/apache/james/mime4j/codec/DecoderUtil.java | 253 ----
.../org/apache/james/mime4j/codec/EncoderUtil.java | 609 ---------
.../james/mime4j/codec/QuotedPrintableEncoder.java | 206 ---
.../mime4j/codec/QuotedPrintableInputStream.java | 230 ----
.../mime4j/codec/QuotedPrintableOutputStream.java | 72 --
.../mime4j/codec/UnboundedFifoByteBuffer.java | 265 ----
.../james/mime4j/descriptor/BodyDescriptor.java | 35 -
.../james/mime4j/descriptor/ContentDescriptor.java | 88 --
.../mime4j/descriptor/DefaultBodyDescriptor.java | 244 ----
.../mime4j/descriptor/MaximalBodyDescriptor.java | 467 -------
.../mime4j/descriptor/MutableBodyDescriptor.java | 36 -
.../apache/james/mime4j/field/AbstractField.java | 174 ---
.../james/mime4j/field/AddressListField.java | 79 --
.../mime4j/field/ContentDispositionField.java | 326 -----
.../mime4j/field/ContentTransferEncodingField.java | 65 -
.../james/mime4j/field/ContentTypeField.java | 258 ----
.../apache/james/mime4j/field/DateTimeField.java | 89 --
.../james/mime4j/field/DefaultFieldParser.java | 53 -
.../james/mime4j/field/DelegatingFieldParser.java | 53 -
.../org/apache/james/mime4j/field/FieldName.java | 53 -
.../org/apache/james/mime4j/field/FieldParser.java | 28 -
.../java/org/apache/james/mime4j/field/Fields.java | 630 ---------
.../apache/james/mime4j/field/MailboxField.java | 84 --
.../james/mime4j/field/MailboxListField.java | 80 --
.../apache/james/mime4j/field/ParseException.java | 64 -
.../org/apache/james/mime4j/field/ParsedField.java | 46 -
.../james/mime4j/field/UnstructuredField.java | 58 -
.../apache/james/mime4j/field/address/Address.java | 122 --
.../james/mime4j/field/address/AddressList.java | 148 ---
.../apache/james/mime4j/field/address/Builder.java | 224 ----
.../james/mime4j/field/address/DomainList.java | 95 --
.../apache/james/mime4j/field/address/Group.java | 161 ---
.../apache/james/mime4j/field/address/Mailbox.java | 288 -----
.../james/mime4j/field/address/MailboxList.java | 79 --
.../mime4j/field/address/parser/BaseNode.java | 28 -
.../james/mime4j/field/datetime/DateTime.java | 165 ---
.../mime4j/io/BufferedLineReaderInputStream.java | 345 -----
.../james/mime4j/io/EOLConvertingInputStream.java | 107 --
.../apache/james/mime4j/io/LimitedInputStream.java | 67 -
.../james/mime4j/io/LineNumberInputStream.java | 67 -
.../apache/james/mime4j/io/LineNumberSource.java | 30 -
.../james/mime4j/io/LineReaderInputStream.java | 48 -
.../mime4j/io/LineReaderInputStreamAdaptor.java | 118 --
.../james/mime4j/io/MaxHeaderLimitException.java | 35 -
.../james/mime4j/io/MaxLineLimitException.java | 36 -
.../james/mime4j/io/MimeBoundaryInputStream.java | 298 -----
.../james/mime4j/io/PositionInputStream.java | 91 --
.../apache/james/mime4j/message/BinaryBody.java | 45 -
.../java/org/apache/james/mime4j/message/Body.java | 46 -
.../apache/james/mime4j/message/BodyCopier.java | 68 -
.../apache/james/mime4j/message/BodyFactory.java | 310 -----
.../org/apache/james/mime4j/message/BodyPart.java | 54 -
.../apache/james/mime4j/message/Disposable.java | 36 -
.../org/apache/james/mime4j/message/Entity.java | 557 --------
.../org/apache/james/mime4j/message/Header.java | 238 ----
.../org/apache/james/mime4j/message/Message.java | 604 ---------
.../james/mime4j/message/MessageBuilder.java | 220 ----
.../apache/james/mime4j/message/MessageWriter.java | 221 ----
.../org/apache/james/mime4j/message/Multipart.java | 319 -----
.../james/mime4j/message/SimpleContentHandler.java | 109 --
.../apache/james/mime4j/message/SingleBody.java | 104 --
.../james/mime4j/message/StorageBinaryBody.java | 75 --
.../james/mime4j/message/StorageTextBody.java | 85 --
.../james/mime4j/message/StringTextBody.java | 81 --
.../org/apache/james/mime4j/message/TextBody.java | 53 -
.../mime4j/parser/AbstractContentHandler.java | 115 --
.../apache/james/mime4j/parser/AbstractEntity.java | 389 ------
.../apache/james/mime4j/parser/ContentHandler.java | 201 ---
.../james/mime4j/parser/EntityStateMachine.java | 103 --
.../apache/james/mime4j/parser/EntityStates.java | 95 --
.../java/org/apache/james/mime4j/parser/Event.java | 71 --
.../java/org/apache/james/mime4j/parser/Field.java | 50 -
.../org/apache/james/mime4j/parser/MimeEntity.java | 320 -----
.../james/mime4j/parser/MimeEntityConfig.java | 181 ---
.../mime4j/parser/MimeParseEventException.java | 50 -
.../james/mime4j/parser/MimeStreamParser.java | 199 ---
.../james/mime4j/parser/MimeTokenStream.java | 385 ------
.../org/apache/james/mime4j/parser/RawEntity.java | 92 --
.../org/apache/james/mime4j/parser/RawField.java | 76 --
.../apache/james/mime4j/parser/RecursionMode.java | 45 -
.../mime4j/storage/DefaultStorageProvider.java | 101 --
.../james/mime4j/storage/StorageOutputStream.java | 170 ---
.../apache/james/mime4j/util/ByteArrayBuffer.java | 166 ---
.../org/apache/james/mime4j/util/ByteSequence.java | 58 -
.../org/apache/james/mime4j/util/CharsetUtil.java | 1271 ------------------
.../org/apache/james/mime4j/util/ContentUtil.java | 138 --
.../james/mime4j/util/EmptyByteSequence.java | 36 -
.../org/apache/james/mime4j/util/MimeUtil.java | 545 --------
.../apache/james/mime4j/util/StringArrayMap.java | 253 ----
.../field/contentdisposition/ParseException.java | 220 ----
.../mime4j/field/contenttype/ParseException.java | 220 ----
.../james/mime4j/field/datetime/DateTimeParser.jj | 344 -----
.../mime4j/field/datetime/ParseException.java | 220 ----
.../mime4j/field/language/ParseException.java | 220 ----
.../mime4j/field/mimeversion/ParseException.java | 220 ----
.../mime4j/field/structured/ParseException.java | 220 ----
.../field/structured/StructuredFieldParser.jj | 227 ----
src/main/javadoc/overview.html | 32 -
.../mime4j/field/address/AddressListParser.jjt | 358 ------
.../james/mime4j/field/address/ParseException.java | 220 ----
src/reporting-site/site.xml | 36 +
src/site/apt/status.apt | 16 +-
src/site/apt/usage.apt | 37 +-
src/site/site.xml | 80 +-
src/site/xdoc/index.xml | 6 +-
src/site/xdoc/navigation.xml | 43 -
.../java/org/apache/james/mime4j/EncodeUtils.java | 111 --
.../java/org/apache/james/mime4j/ExampleMail.java | 691 ----------
.../java/org/apache/james/mime4j/TestUtil.java | 73 --
.../james/mime4j/codec/Base64InputStreamTest.java | 293 -----
.../james/mime4j/codec/Base64OutputStreamTest.java | 217 ----
.../apache/james/mime4j/codec/CodecUtilTest.java | 163 ---
.../apache/james/mime4j/codec/DecoderUtilTest.java | 127 --
.../mime4j/codec/QuotedPrintableEncodeTest.java | 141 --
.../codec/QuotedPrintableInputStreamTest.java | 97 --
.../codec/QuotedPrintableOutputStreamTest.java | 85 --
.../codec/QuotedPrintableTextEncodeTest.java | 183 ---
.../descriptor/BaseTestForBodyDescriptors.java | 237 ----
.../descriptor/DefaultBodyDescriptorTest.java | 34 -
.../descriptor/MaximalBodyDescriptorTest.java | 190 ---
.../mime4j/field/ContentDispositionFieldTest.java | 209 ---
.../field/ContentTransferEncodingFieldTest.java | 68 -
.../james/mime4j/field/ContentTypeFieldTest.java | 111 --
.../org/apache/james/mime4j/field/FieldTest.java | 63 -
.../org/apache/james/mime4j/field/FieldsTest.java | 381 ------
.../james/mime4j/field/UnstructuredFieldTest.java | 42 -
.../james/mime4j/field/address/AddressTest.java | 485 -------
.../contentdisposition/ContentDispositionTest.java | 34 -
.../mime4j/field/contenttype/ContentTypeTest.java | 57 -
.../james/mime4j/field/datetime/DateTimeTest.java | 109 --
.../field/mimeversion/MimeVersionParserTest.java | 80 --
.../structured/StructuredFieldParserTest.java | 75 --
.../BufferedLineReaderInputStreamBufferTest.java | 211 ---
.../io/BufferedLineReaderInputStreamTest.java | 166 ---
.../mime4j/io/EOLConvertingInputStreamTest.java | 120 --
.../james/mime4j/io/LimitedInputStreamTest.java | 56 -
.../james/mime4j/io/LineNumberInputStreamTest.java | 81 --
.../io/LineReaderInputStreamAdaptorTest.java | 169 ---
.../mime4j/io/MimeBoundaryInputStreamTest.java | 343 -----
.../james/mime4j/io/PositionInputStreamTest.java | 53 -
.../james/mime4j/message/CopyConstructorTest.java | 188 ---
.../apache/james/mime4j/message/EntityTest.java | 124 --
.../message/ExampleMessagesRoundtripTest.java | 111 --
.../apache/james/mime4j/message/HeaderTest.java | 129 --
.../mime4j/message/MessageCompleteMailTest.java | 59 -
.../james/mime4j/message/MessageParserTest.java | 256 ----
.../apache/james/mime4j/message/MessageTest.java | 504 --------
.../james/mime4j/message/MessageWriteToTest.java | 71 --
.../james/mime4j/message/MultipartFormTest.java | 83 --
.../james/mime4j/message/SingleBodyCopyTest.java | 129 --
.../apache/james/mime4j/parser/MimeEntityTest.java | 540 --------
.../MimeStreamParserExampleMessagesTest.java | 115 --
.../james/mime4j/parser/MimeStreamParserTest.java | 475 -------
.../parser/MimeStreamTokenMessageRfc822Test.java | 101 --
.../parser/MimeTokenEmbeddedMessageTest.java | 216 ----
.../mime4j/parser/MimeTokenNoRecurseTest.java | 222 ----
.../parser/MimeTokenStreamBodyDescriptorTest.java | 97 --
.../mime4j/parser/MimeTokenStreamReaderTest.java | 140 --
.../james/mime4j/parser/MimeTokenStreamTest.java | 85 --
.../james/mime4j/parser/MultipartStreamTest.java | 148 ---
.../james/mime4j/parser/MultipartTokensTest.java | 301 -----
.../mime4j/parser/StrictMimeTokenStreamTest.java | 62 -
.../apache/james/mime4j/parser/TestHandler.java | 112 --
.../apache/james/mime4j/util/CharsetUtilTest.java | 39 -
.../james/mime4j/util/StringArrayMapTest.java | 138 --
.../james/mime4j/util/TestByteArrayBuffer.java | 169 ---
src/test/resources/testmsgs/ending-boundaries.out | 22 -
src/test/resources/testmsgs/ending-boundaries.xml | 33 -
.../testmsgs/ending-boundaries_decoded.xml | 31 -
src/test/resources/testmsgs/example.xml | 213 ----
src/test/resources/testmsgs/example_decoded.xml | 137 --
src/test/resources/testmsgs/misplaced-boundary.out | 11 -
src/test/resources/testmsgs/misplaced-boundary.xml | 23 -
.../testmsgs/misplaced-boundary_decoded.xml | 20 -
.../resources/testmsgs/missing-inner-boundary.out | 21 -
.../resources/testmsgs/missing-inner-boundary.xml | 42 -
.../testmsgs/missing-inner-boundary_decoded.xml | 39 -
stage/commons-io/jars/commons-io-1.2.jar | Bin 65621 -> 0 bytes
stage/commons-io/poms/commons-io-1.2.pom | 235 ----
stage/commons-logging/jars/commons-logging-1.1.jar | Bin 52915 -> 0 bytes
stage/commons-logging/poms/commons-logging-1.1.pom | 191 ---
stage/junit/jars/junit-3.8.1.jar | Bin 121070 -> 0 bytes
stage/junit/poms/junit-3.8.1.pom | 33 -
stage/log4j/jars/log4j-1.2.14.jar | Bin 367444 -> 0 bytes
stage/log4j/poms/log4j-1.2.14.pom | 1 -
stage/org.apache.james/jars/maven-skin-1.1.jar | Bin 19074 -> 0 bytes
stage/org.apache.james/poms/james-parent-1.1.pom | 385 ------
stage/org.apache.james/poms/james-project-1.2.pom | 76 --
stage/org.apache.james/poms/maven-skin-1.1.pom | 66 -
.../xmls/james-parent-1.1-site.xml | 18 -
.../xmls/james-project-1.2-site.xml | 68 -
.../jars/apache-jar-resource-bundle-1.2.jar | Bin 10867 -> 0 bytes
storage/pom.xml | 66 +
.../mime4j/storage/AbstractStorageProvider.java | 0
.../mime4j/storage/CipherStorageProvider.java | 0
.../mime4j/storage/DefaultStorageProvider.java | 93 ++
.../mime4j/storage/MemoryStorageProvider.java | 0
.../mime4j/storage/MultiReferenceStorage.java | 0
.../org/apache/james/mime4j/storage/Storage.java | 0
.../james/mime4j/storage/StorageBinaryBody.java | 75 ++
.../james/mime4j/storage/StorageBodyFactory.java | 299 +++++
.../james/mime4j/storage/StorageOutputStream.java | 170 +++
.../james/mime4j/storage/StorageProvider.java | 0
.../james/mime4j/storage/StorageTextBody.java | 77 ++
.../james/mime4j/storage/StringTextBody.java | 88 ++
.../mime4j/storage/TempFileStorageProvider.java | 0
.../mime4j/storage/ThresholdStorageProvider.java | 0
storage/src/reporting-site/site.xml | 29 +
.../mime4j/storage/DefaultStorageProviderTest.java | 0
.../mime4j/storage/MultiReferenceStorageTest.java | 0
.../james/mime4j/storage/SingleBodyCopyTest.java | 128 ++
.../james/mime4j/storage/StorageProviderTest.java | 0
983 files changed, 61766 insertions(+), 32932 deletions(-)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/apache-mime4j.git
More information about the pkg-java-commits
mailing list