KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > contineo > core > text > parser > TestPPTParser


1 package org.contineo.core.text.parser;
2
3 import java.io.File JavaDoc;
4
5 /**
6  * Created on 02.01.2005
7  * @author Michael Scholz
8  */

9 public class TestPPTParser {
10
11     /**
12      *
13      */

14     public TestPPTParser() {
15     }
16     
17     public void test() {
18         try {
19             File JavaDoc file = new File JavaDoc("E:/test2.pdf");
20             PDFParser parser = new PDFParser(file);
21             System.out.println(parser.getContent().toString());
22         } catch (Exception JavaDoc e) {
23             e.printStackTrace();
24         }
25     }
26
27     public static void main(String JavaDoc[] args) {
28         TestPPTParser tester = new TestPPTParser();
29         tester.test();
30     }
31 }
32
Popular Tags