org.jopendocument.io
Class ODTContentExtractor

java.lang.Object
  extended by org.jopendocument.io.ODTContentExtractor

public class ODTContentExtractor
extends java.lang.Object


Constructor Summary
ODTContentExtractor(java.io.File f)
           
 
Method Summary
 boolean containsIgnoreCase(java.lang.String s)
          Checks if the file contains a word.
 void load()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ODTContentExtractor

public ODTContentExtractor(java.io.File f)
Method Detail

load

public void load()
          throws java.io.IOException
Throws:
java.io.IOException

containsIgnoreCase

public boolean containsIgnoreCase(java.lang.String s)
Checks if the file contains a word. This method is case insensitive.

Parameters:
s - a word or text
Returns:
true if the text if found