org.apache.poi.poifs.eventfilesystem.POIFSReader Java Examples
The following examples show how to use
org.apache.poi.poifs.eventfilesystem.POIFSReader.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PPT2Text.java From olat with Apache License 2.0 | 4 votes |
public static void extractText(final InputStream inStream, final OutputStream stream) throws IOException { final POIFSReader r = new POIFSReader(); /* Register a listener for *all* documents. */ r.registerListener(new MyPOIFSReaderListener(stream)); r.read(inStream); }
Example #2
Source File: PowerPointDocument.java From olat with Apache License 2.0 | 4 votes |
private static void extractText(final InputStream inStream, final OutputStream stream) throws IOException { final POIFSReader r = new POIFSReader(); /* Register a listener for *all* documents. */ r.registerListener(new MyPOIFSReaderListener(stream)); r.read(inStream); }