|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.starbase.starteam.SimpleKeyword
|
+--com.starbase.starteam.LogKeyword
An implementation of the StarTeam $Log$ keyword.
| Constructor Summary | |
LogKeyword(LogLine[] logLines)
Constructs a $Log$ keyword using the specified log entries. |
|
LogKeyword(LogLine[] logLines,
boolean utcDates)
Constructs a $Log$ keyword using the specified log entries. |
|
| Method Summary | |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
java.lang.String |
expand(java.lang.String linePrefix,
java.lang.String eol,
boolean expand)
Expands or unexpands the $Log$ keyword. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
matches(java.lang.String line,
int start,
int[] endPos)
Returns true of this keyword is found in the specified line. |
boolean |
multiLine()
Always returns true. |
java.lang.String |
toXMLString()
Returns an XML representation of the keyword. |
| Methods inherited from class com.starbase.starteam.SimpleKeyword |
getName, getValue, stopExpanding |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LogKeyword(LogLine[] logLines)
logLines - the log lines that make up this $Log$ keyword.
public LogKeyword(LogLine[] logLines,
boolean utcDates)
logLines - the log lines that make up this $Log$ keyword.utcDates - if true will format dates in UTC format| Method Detail |
public boolean multiLine()
multiLine in interface KeywordmultiLine in class SimpleKeyword
public java.lang.String expand(java.lang.String linePrefix,
java.lang.String eol,
boolean expand)
expand in interface Keywordexpand in class SimpleKeywordlinePrefix - the begining of the line in the souce leading up to
the keywordeol - the end-of-line convention used in the source fileexpand - true if the keyword is to be expanded and false for
unexpand
public boolean matches(java.lang.String line,
int start,
int[] endPos)
$ occurs.
matches in interface Keywordmatches in class SimpleKeywordline - the line to search for this keywordstart - the position in the line (zero based) to start searchingendPos - and "output" array where the end of the keyword occurs.
public java.lang.String toXMLString()
<logkeyword>...log lines...</logkeyword>
toXMLString in interface KeywordtoXMLString in class SimpleKeywordLogLine.toXMLString()public boolean equals(java.lang.Object source)
equals in class SimpleKeywordsource - Object the source to comapre with
public int hashCode()
hashCode in class SimpleKeyword
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||