|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.mojo.taglist.tags.AbsTag
org.codehaus.mojo.taglist.tags.IgnoreCaseTag
public class IgnoreCaseTag
The ignore case tag class. This class defines a "case insensitive" match tag. This tag will match if the characters (upper or lower case) in the string listed is found within the scanned lines. Example POM:
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.
Field Summary |
---|
Fields inherited from class org.codehaus.mojo.taglist.tags.AbsTag |
---|
tagString |
Constructor Summary | |
---|---|
IgnoreCaseTag(String tagString)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IgnoreCaseTag(String tagString)
tagString
- the string to match against for this tag.Method Detail |
---|
public int contains(String currentLine, Locale locale)
contains
in class AbsTag
currentLine
- the string for the current line being scanned.locale
- the Locale of the currentLine.
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |