org.egothor.text
Class SnipperOfStrings

java.lang.Object
  extended by org.egothor.text.Snipper
      extended by org.egothor.text.SnipperOfStrings

public class SnipperOfStrings
extends Snipper

This class is part of the Egothor Project

Author:
Leo Galambos

Constructor Summary
SnipperOfStrings(java.lang.String[] word, boolean htmlAware, java.lang.String startHit, java.lang.String endHit)
          Constructor for the Snipper object
 
Method Summary
static void main(java.lang.String[] args)
          The main program for the Snipper class
 boolean matches(Token w)
          Description of the Method
 
Methods inherited from class org.egothor.text.Snipper
filter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnipperOfStrings

public SnipperOfStrings(java.lang.String[] word,
                        boolean htmlAware,
                        java.lang.String startHit,
                        java.lang.String endHit)
Constructor for the Snipper object

Parameters:
word - Description of the Parameter
htmlAware - Print all string in HTML format (translate characters to HTML entities)
Method Detail

main

public static void main(java.lang.String[] args)
The main program for the Snipper class

Parameters:
args - The command line arguments

matches

public boolean matches(Token w)
Description of the Method

Specified by:
matches in class Snipper
Parameters:
w - Description of the Parameter
Returns:
Description of the Return Value