|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hslf.extractor.PowerPointExtractor
This class can be used to extract text from a PowerPoint file. Can optionally also get the notes from one.
Constructor Summary | |
PowerPointExtractor(java.io.InputStream iStream)
Creates a PowerPointExtractor |
|
PowerPointExtractor(POIFSFileSystem fs)
Creates a PowerPointExtractor |
|
PowerPointExtractor(java.lang.String fileName)
Creates a PowerPointExtractor |
Method Summary | |
void |
close()
Shuts down the underlying streams |
java.lang.String |
getNotes()
Fetches all the notes text from the slideshow, but not the slide text |
java.lang.String |
getText()
Fetches all the slide text from the slideshow, but not the notes |
java.lang.String |
getText(boolean getSlideText,
boolean getNoteText)
Fetches text from the slideshow, be it slide text or note text. |
static void |
main(java.lang.String[] args)
Basic extractor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PowerPointExtractor(java.lang.String fileName) throws java.io.IOException
fileName
- public PowerPointExtractor(java.io.InputStream iStream) throws java.io.IOException
iStream
- public PowerPointExtractor(POIFSFileSystem fs) throws java.io.IOException
fs
- Method Detail |
public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
public void close() throws java.io.IOException
java.io.IOException
public java.lang.String getText()
public java.lang.String getNotes()
public java.lang.String getText(boolean getSlideText, boolean getNoteText)
getSlideText
- fetch slide textgetNoteText
- fetch note text
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |