public class JavaLikeWordDetector extends java.lang.Object implements IWordDetector
| Constructor and Description |
|---|
JavaLikeWordDetector() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWordPart(char c)
Returns whether the specified character is
valid as a subsequent character in a word.
|
boolean |
isWordStart(char c)
Returns whether the specified character is
valid as the first character in a word.
|
public boolean isWordStart(char c)
IWordDetectorisWordStart in interface IWordDetectorc - the character to be checkedtrue is a valid first character in a word, false otherwisepublic boolean isWordPart(char c)
IWordDetectorisWordPart in interface IWordDetectorc - the character to be checkedtrue if the character is a valid word part, false otherwise