/[Apache-SVN]
ViewVC logotype

Revision 894645


Jump to revision: Previous Next
Author: bago
Date: Wed Dec 30 15:22:10 2009 UTC (14 years, 3 months ago)
Changed paths: 18
Log Message:
Refactoring for MimeEntity:
- now takes a simple InputStream in input and add the buffering internally.
- now wants a MutableBodyDescripor to be used for this entity (and not a parent reference like before) (MIME5J-156)
- MimeEntity/AbstractEntity do not more depend on Maximal/Default BodyDescriptor implementations.
- removed T_IN_BODYPART and T_IN_MESSAGE "dummy" states (they are no more needed) (MIME4J-152)
- Zero parts multipart messages were parsed as 1 empty part multipart messages. Fixed (MIME4J-152)
- Added testmessages for the zero part multipart issue (MIME4J-152)
- MimeEntity.skipHeader removed. Headless parsing is now done simply passing a MutableBodyDescriptor with the right contenttype and a custom startState to the MimeEntity class (no hacks inside MimeEntity) (related to MIME4J-153)
- MimeTokenStream headless parsing doesn't start from T_END_HEADER state anymore but from the following state (MIME4J-153)
- mimeStream renamed to mimePartStream (and also related methods).
- MimeTokenStream now proxy the stop() request to the root mime entity (implemented MimeEntity.stop()).


Changed paths

Path Details
Directoryjames/mime4j/branches/cycleclean/core/src/main/java/org/apache/james/mime4j/parser/AbstractEntity.java modified , text changed
Directoryjames/mime4j/branches/cycleclean/core/src/main/java/org/apache/james/mime4j/parser/MimeEntity.java modified , text changed
Directoryjames/mime4j/branches/cycleclean/core/src/main/java/org/apache/james/mime4j/parser/MimeTokenStream.java modified , text changed
Directoryjames/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/MessageHeadlessParserTest.java modified , text changed
Directoryjames/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/parser/MimeEntityTest.java modified , text changed
Directoryjames/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/parser/MultipartTokensTest.java modified , text changed
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-boundary.msg added
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-boundary.out added
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-boundary.xml added
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-boundary_decoded.xml added
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-inner-boundary.out modified , text changed
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-inner-boundary.xml modified , text changed
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-inner-boundary_decoded.xml modified , text changed
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-inner-start-boundary.msg added
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-inner-start-boundary.out added
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-inner-start-boundary.xml added
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-inner-start-boundary_decoded.xml added
Directoryjames/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/missing-inner-start-boundary_decoded_1_1.txt added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26