org.sourcejammer.server.keywords
Class HistoryExpander
java.lang.Object
|
+--org.sourcejammer.server.keywords.KeywordExpander
|
+--org.sourcejammer.server.keywords.HistoryExpander
- All Implemented Interfaces:
- KeywordTags
- public class HistoryExpander
- extends KeywordExpander
Title: $FileName: HistoryExpander.java$
- Version:
- $VerNum: 3$
- Author:
- $AuthorName: Rob MacGrogan$
$Description: $
$KeyWordsOff: $
Fields inherited from interface org.sourcejammer.server.keywords.KeywordTags |
ARCHIVE_NAME, DESCRIPTION, FILE_ID, FILE_LOCATION, FILE_NAME, HIST_COL_DATE, HIST_COL_TASK, HIST_COL_USER, HIST_COL_VER, HIST_HALF_LINE_LEN, HIST_SEPARATOR, HISTORY, KEYWORD_INDICATOR, KEYWORD_NAME_VAL_SEP, LAST_COMMENT, LINE_MAX_LENGTH, MODIFIED_DATE, OFF, SPACE, USER_FULL_NAME, USER_NAME, VERSION_ID, VERSION_NUMBER |
Method Summary |
int |
expand(java.lang.String line,
int keywordBeginIndex,
java.util.Vector lines,
ProjectObjects obj,
org.sourcejammer.util.BufferedLineReader reader)
Expand any keywords in current line. |
private int |
locateEndKeywordIndicator(java.lang.String line,
org.sourcejammer.util.BufferedLineReader reader,
java.util.Vector vecLines)
Here we skip past all the history already in the file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
numCharactersAdded
private int numCharactersAdded
endLine
private java.lang.String endLine
HistoryExpander
public HistoryExpander()
expand
public int expand(java.lang.String line,
int keywordBeginIndex,
java.util.Vector lines,
ProjectObjects obj,
org.sourcejammer.util.BufferedLineReader reader)
throws java.io.IOException,
KeywordExpansionException
- Description copied from class:
KeywordExpander
- Expand any keywords in current line.
- Specified by:
expand
in class KeywordExpander
- Returns:
- Number of characters in all Strings added to lines Vector.
java.io.IOException
KeywordExpansionException
locateEndKeywordIndicator
private int locateEndKeywordIndicator(java.lang.String line,
org.sourcejammer.util.BufferedLineReader reader,
java.util.Vector vecLines)
throws KeywordExpansionException,
java.io.IOException
- Here we skip past all the history already in the file.
KeywordExpansionException
java.io.IOException
Copyright © 2003 Soucejammer project.