package test;
import java.io.FileInputStream;
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
import org.textmining.text.extraction.WordExtractor;public class GetWordFromDOC { /**
 * @param args
 */
public static void main(String[] args) throws Exception{
// TODO Auto-generated method stub
FileInputStream fis = new FileInputStream("d:\\aa.doc");
WordExtractor we = new WordExtractor(); 
String str = we.extractText(fis);
System.out.println("length : "+str.length());
System.out.println("result is : "+str); }}
为什么我的“import org.textmining.text.extraction.WordExtractor;”引不进来?
我已经在Apache里下了POI包。谁帮忙解答下,万分感激!!!!
小弟邮箱:[email protected]