Package org.apache.poi.hslf.extractor

Examples of org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor


       //*-- handle all kinds of PPT files
       //PowerPointExtractor ppe = null;
       //ppe = new PowerPointExtractor(ifile);
       //bodyText = ppe.getText() + ppe.getNotes();
       //ppe.close();    
       QuickButCruddyTextExtractor qbt = new QuickButCruddyTextExtractor(ifile);
       bodyText = qbt.getTextAsString()
     }
    catch (OutOfMemoryError e)
      { logger.error("Cannot allocate memory, file may be corrupt " + ifile + " " +  e.getMessage()); }
    catch (Exception e)
      { logger.error("Cannot extract text from a PowerPoint document " + ifile + " " + e.getMessage() ); }
View Full Code Here

TOP

Related Classes of org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.