Skip to content
Snippets Groups Projects
Commit 3a8a05fd authored by langella's avatar langella
Browse files

new gnumail library to parse mime multipart

git-svn-id: https://subversion.renater.fr/xtandempipeline/trunk@186 b8ef2a07-7df7-436f-90b9-41648038564b
parent 9f3846dd
No related branches found
No related tags found
No related merge requests found
......@@ -30,5 +30,6 @@
<classpathentry kind="lib" path="lib/http/commons-httpclient-3.1.jar"/>
<classpathentry kind="lib" path="lib/http/commons-logging-1.0.4.jar"/>
<classpathentry kind="lib" path="lib/swt/swt-gtk-linux-x86_64.jar"/>
<classpathentry kind="lib" path="lib/gnumail-1.1.2.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
File added
package fr.inra.pappso.xtandempipeline.test;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMultipart;
import javax.activation.DataSource;
import javax.activation.FileDataSource;
public class test {
/**
* @param args
*/
public static void main(String[] args) {
DataSource ds = new FileDataSource("sdfgsfg");
try {
MimeMultipart mime = new MimeMultipart(ds);
} catch (MessagingException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment