|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.tigris.scarab.util.IssueIdParser
This class contains logic for finding issue ids in generic text.
| Constructor Summary | |
IssueIdParser()
|
|
| Method Summary | |
static java.lang.String |
getIssueIdFromToken(Module module,
java.lang.String token)
Assumption is the token will contain at most one issue id. |
static java.util.Map |
getIssueIds(Module module,
java.lang.String text)
A Map of ids where the keys are the tokens such as "issue#35" and the value is the unique id, "PACS35". |
static java.util.List |
getIssueIdTokens(Module module,
java.lang.String text)
Parses text for any valid issue ids and returns matches. |
static java.util.List |
tokenizeText(Module module,
java.lang.String text)
Parses text for any valid issue ids. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public IssueIdParser()
| Method Detail |
public static java.util.List getIssueIdTokens(Module module,
java.lang.String text)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public static java.util.List tokenizeText(Module module,
java.lang.String text)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public static java.lang.String getIssueIdFromToken(Module module,
java.lang.String token)
module - a Module valuetoken - a String value
String value
public static java.util.Map getIssueIds(Module module,
java.lang.String text)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||