public final class QuickButCruddyTextExtractor extends Object
| Constructor and Description |
|---|
QuickButCruddyTextExtractor(InputStream iStream)
Creates an extractor from a given input stream
|
QuickButCruddyTextExtractor(POIFSFileSystem poifs)
Creates an extractor from a POIFS Filesystem
|
QuickButCruddyTextExtractor(String fileName)
Creates an extractor from a given file name
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Shuts down the underlying streams
|
int |
findTextRecords(int startPos,
Vector<String> textV)
For the given position, look if the record is a text record, and wind
on after.
|
String |
getTextAsString()
Fetches the ALL the text of the powerpoint file, as a single string
|
Vector<String> |
getTextAsVector()
Fetches the ALL the text of the powerpoint file, in a vector of
strings, one per text record
|
static void |
main(String[] args)
Really basic text extractor, that will also return lots of crud text.
|
public QuickButCruddyTextExtractor(String fileName) throws IOException
fileName - IOExceptionpublic QuickButCruddyTextExtractor(InputStream iStream) throws IOException
iStream - IOExceptionpublic QuickButCruddyTextExtractor(POIFSFileSystem poifs) throws IOException
poifs - IOExceptionpublic static void main(String[] args) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic String getTextAsString()
public Vector<String> getTextAsVector()
Copyright © 2020. All rights reserved.