org.apache.maven.jxr.util

Class SimpleWordTokenizer

public class SimpleWordTokenizer extends Object

This is a small and fast word tokenizer. It has different characteristics from the normal Java tokenizer. It only considers clear words that are only ended with spaces as strings. EX: "Flight" would be a word but "Flight()" would not.
Field Summary
static char[]BREAKERS
Description of the Field
Method Summary
static StringEntry[]tokenize(String line)
Break the given line into multiple StringUtils
static StringEntry[]tokenize(String line, String find)
Tokenize the given line but only return StringUtils that match the parameter find.

Field Detail

BREAKERS

public static final char[] BREAKERS
Description of the Field

Method Detail

tokenize

public static StringEntry[] tokenize(String line)
Break the given line into multiple StringUtils

tokenize

public static StringEntry[] tokenize(String line, String find)
Tokenize the given line but only return StringUtils that match the parameter find.

Parameters: line String to search in find String to match.

Copyright © {inceptionYear}-2008 Apache Software Foundation. All Rights Reserved.