public final class QuickButCruddyTextExtractor
extends java.lang.Object
| Constructor and Description | 
|---|
| QuickButCruddyTextExtractor(java.io.InputStream iStream)Creates an extractor from a given input stream | 
| QuickButCruddyTextExtractor(POIFSFileSystem poifs)Creates an extractor from a POIFS Filesystem | 
| QuickButCruddyTextExtractor(java.lang.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,
               java.util.List<java.lang.String> textV)For the given position, look if the record is a text record, and wind
  on after. | 
| java.lang.String | getTextAsString()Fetches the ALL the text of the powerpoint file, as a single string | 
| java.util.List<java.lang.String> | getTextAsVector()Fetches the ALL the text of the powerpoint file, in a List of
  strings, one per text record | 
| static void | main(java.lang.String[] args)Really basic text extractor, that will also return lots of crud text. | 
public QuickButCruddyTextExtractor(java.lang.String fileName)
                            throws java.io.IOException
fileName - java.io.IOExceptionpublic QuickButCruddyTextExtractor(java.io.InputStream iStream)
                            throws java.io.IOException
iStream - java.io.IOExceptionpublic QuickButCruddyTextExtractor(POIFSFileSystem poifs) throws java.io.IOException
poifs - java.io.IOExceptionpublic static void main(java.lang.String[] args)
                 throws java.io.IOException
java.io.IOExceptionpublic void close()
           throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getTextAsString()
public java.util.List<java.lang.String> getTextAsVector()
public int findTextRecords(int startPos,
                           java.util.List<java.lang.String> textV)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.