com.atlassian.bonnie.search.extractor
Class PowerPointListener
java.lang.Object
com.atlassian.bonnie.search.extractor.PowerPointListener
- All Implemented Interfaces:
- org.apache.poi.poifs.eventfilesystem.POIFSReaderListener
- public class PowerPointListener
- extends java.lang.Object
- implements org.apache.poi.poifs.eventfilesystem.POIFSReaderListener
Listener for responding to read events thrown when reading a powerpoint document. This implementation is largely
based on org.apache.poi.hslf.extractor.QuickButCruddyTextExtractor (the findTextRecords(int,byte[])
has been copied and adapted). This listener is able to extract unicode text.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IGNORED_TEXT
public static final java.util.Set IGNORED_TEXT
IGNORED_PREFIXES
public static final java.util.Set IGNORED_PREFIXES
PowerPointListener
public PowerPointListener(java.lang.StringBuffer buff)
processPOIFSReaderEvent
public void processPOIFSReaderEvent(org.apache.poi.poifs.eventfilesystem.POIFSReaderEvent event)
- Specified by:
processPOIFSReaderEvent in interface org.apache.poi.poifs.eventfilesystem.POIFSReaderListener
findTextRecords
public int findTextRecords(int startPos,
byte[] documentBytes)
Copyright © 2006-2009 Atlassian Software Systems Pty Ltd. All Rights Reserved.