public class IgnoreCaseTag extends AbsTag
Example Java code with match:... fixme ignoreCase ...
* fixme this will match. * FIXME this will match. * Fixme this will match.Example Java code without match:
* @tdoo this will NOT match.
Constructor and Description |
---|
IgnoreCaseTag(String tagString)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
contains(String currentLine,
Locale locale)
Check to see if the string contains this tag.
|
int |
getLastTagMatchLength()
Return the length of the last matched tag.
|
boolean |
startsWith(String currentLine,
Locale locale)
Check to see if the string starts with this tag.
|
public IgnoreCaseTag(String tagString)
tagString
- the string to match against for this tag.public int contains(String currentLine, Locale locale)
public boolean startsWith(String currentLine, Locale locale)
startsWith
in class AbsTag
currentLine
- the string for the current line being scanned.locale
- the Locale of the currentLine.public int getLastTagMatchLength()
getLastTagMatchLength
in class AbsTag
Copyright © 2005-2012 Codehaus. All Rights Reserved.