org.egothor.text
Class SnipperOfStrings
java.lang.Object
org.egothor.text.Snipper
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 ParameterhtmlAware
- Print all string in HTML format (translate characters to HTML entities)
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