MIME-java
所属分类:Java编程
开发工具:Java
文件大小:86KB
下载次数:41
上传日期:2008-07-19 21:27:02
上 传 者:
rechardfeng
说明: MIME的java解析代码
用于开发邮件客户端
(MIME resolve the java code for the development of mail client)
文件列表:
MIME (0, 2008-07-19)
MIME\CVS (0, 2008-07-19)
MIME\CVS\Entries (2, 1998-08-25)
MIME\CVS\Entries.Log (45, 1998-08-25)
MIME\CVS\Repository (43, 1998-08-25)
MIME\CVS\Root (51, 1998-08-25)
MIME\examples (0, 2008-07-19)
MIME\examples\CVS (0, 2008-07-19)
MIME\examples\CVS\Entries (2, 1998-08-25)
MIME\examples\CVS\Entries.Log (64, 1998-08-25)
MIME\examples\CVS\Repository (52, 1998-08-25)
MIME\examples\CVS\Root (51, 1998-08-25)
MIME\examples\message_part (0, 2008-07-19)
MIME\examples\message_part\CVS (0, 2008-07-19)
MIME\examples\message_part\CVS\Entries (98, 1998-08-25)
MIME\examples\message_part\CVS\Repository (65, 1998-08-25)
MIME\examples\message_part\CVS\Root (51, 1998-08-25)
MIME\examples\message_part\TestMessagePart.java (5804, 1998-08-25)
MIME\examples\msg_extern_body (0, 2008-07-19)
MIME\examples\msg_extern_body\CVS (0, 2008-07-19)
MIME\examples\msg_extern_body\CVS\Entries (105, 1998-08-25)
MIME\examples\msg_extern_body\CVS\Repository (68, 1998-08-25)
MIME\examples\msg_extern_body\CVS\Root (51, 1998-08-25)
MIME\examples\msg_extern_body\TestExtBodyMessagePart.java (3618, 1998-08-25)
MIME\examples\multi_part (0, 2008-07-19)
MIME\examples\multi_part\CVS (0, 2008-07-19)
MIME\examples\multi_part\CVS\Entries (103, 1998-08-25)
MIME\examples\multi_part\CVS\Repository (63, 1998-08-25)
MIME\examples\multi_part\CVS\Root (51, 1998-08-25)
MIME\examples\multi_part\TestMultiPartMessage.java (7923, 1998-08-25)
MIME\src (0, 2008-07-19)
MIME\src\ByteBuffer.java (8019, 1998-08-25)
MIME\src\ByteString.java (13291, 1998-08-25)
MIME\src\CVS (0, 2008-07-19)
MIME\src\CVS\Entries (780, 1998-08-25)
MIME\src\CVS\Repository (47, 1998-08-25)
MIME\src\CVS\Root (51, 1998-08-25)
... ...
This directory contains an example program that demonstrates the use of the Netscape
Messaging MIME Parser java API.
To compile and run:
-------------------
(1) Make sure CLASSPATH includes the msg-sdk jar file (proapi.jar).
When installed proapi.jar is located at /packages/proapi.jar.
Make sure CLASSPATH also includes the directory you are compiling in.
(2) Compile: javac *.java
(3) Run: java testApp
This shows the usage:
usage: java testApp [D]
Explanation of parameters above:
: file with MIME message to parse
[D] For dynamic parsing (default).
Any other values performs static parsing
(4) Run again with appropriate parameters. For example:
java testApp mime1.txt D
NOTE: The other two program testAppStr.java and
testAppStrLoop.java have minor differences with
testApp.java.
testAppStr.java passes the entire input stream to the parser in one shot.
testAppStrLoop.java Demonstrate parsing > 1 messages with the same parser object.
近期下载者:
相关文件:
收藏者: