com.raritantechnologies.utils.filter.stream
Class PowerPointFilter
java.lang.Object
com.raritantechnologies.utils.filter.stream.PowerPointFilter
- All Implemented Interfaces:
- IConfigurable, IStreamFilter
- public class PowerPointFilter
- extends java.lang.Object
- implements IStreamFilter
Powerpoint Stream Filter - uses Apache POI PowerPointExtractor.
XML Configuration Template:
<StreamFilter class="com.raritantechnologies.utils.filter.stream.PowerPointFilter"
getSlideText="[ true(default)|false ]"
getNoteText="[ true(default) | false ]" />
|
Method Summary |
java.lang.String |
filterStream(java.io.InputStream is)
|
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
static void |
main(java.lang.String[] args)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PowerPointFilter
public PowerPointFilter()
filterStream
public java.lang.String filterStream(java.io.InputStream is)
- Specified by:
filterStream in interface IStreamFilter
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IConfigurable
main
public static void main(java.lang.String[] args)