org.sourcejammer.server.keywords
Class KeywordManager

java.lang.Object
  |
  +--org.sourcejammer.server.keywords.KeywordManager
All Implemented Interfaces:
KeywordTags

public class KeywordManager
extends java.lang.Object
implements KeywordTags

Title: SourceJammer Server 1.3 Description: Copyright: Copyright (c) 2002 Company: SourceJammer

Version:
1.0
Author:
Rob MacGrogan

Field Summary
private static java.util.Hashtable keywords
           
private  boolean lookForKeyWords
           
 
Fields inherited from interface org.sourcejammer.server.keywords.KeywordTags
ARCHIVE_NAME, COMMENT_LINE_LEN, COMMENT_LINE_OFFSET, DESCRIPTION, FILE_ID, FILE_LOCATION, FILE_NAME, HIST_COL_COMMENT, HIST_COL_DATE, HIST_COL_TASK, HIST_COL_USER, HIST_COL_VER, HIST_DATE_LEN, HIST_HALF_LINE_LEN, HIST_LINE_COMMENT, HIST_LINE_DATE, HIST_LINE_TASK, HIST_LINE_USER, HIST_LINE_VER, HIST_SEPARATOR, HIST_TASK_LEN, HIST_USER_LEN, HIST_VER_LEN, 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
 
Constructor Summary
KeywordManager()
           
 
Method Summary
private static KeywordExpander buildArchiveNameExpander()
          Adds archive name.
private static KeywordExpander buildCommentExpander()
           
private static KeywordExpander buildDescriptionExpander()
           
private static KeywordExpander buildDoNothingExpander()
          Just adds line to lines.
private static KeywordExpander buildFileIDExpander()
           
private static KeywordExpander buildFileLocationExpander()
           
private static KeywordExpander buildFileNameExpander()
           
private static java.util.Hashtable buildKeywordsHash()
           
private static KeywordExpander buildModDateExpander()
           
private static KeywordExpander buildUserFullNameExpander()
           
private static KeywordExpander buildUserNameExpander()
           
private static KeywordExpander buildVerIDExpander()
           
private static KeywordExpander buildVerNumExpander()
           
 KeywordInLine keywordInLine(java.lang.String line)
          Returns null if no keyword in line.
 boolean lookForKeyWords()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lookForKeyWords

private boolean lookForKeyWords

keywords

private static final java.util.Hashtable keywords
Constructor Detail

KeywordManager

public KeywordManager()
Method Detail

buildKeywordsHash

private static java.util.Hashtable buildKeywordsHash()

buildUserFullNameExpander

private static KeywordExpander buildUserFullNameExpander()

buildUserNameExpander

private static KeywordExpander buildUserNameExpander()

buildVerIDExpander

private static KeywordExpander buildVerIDExpander()

buildVerNumExpander

private static KeywordExpander buildVerNumExpander()

buildModDateExpander

private static KeywordExpander buildModDateExpander()

buildDescriptionExpander

private static KeywordExpander buildDescriptionExpander()

buildCommentExpander

private static KeywordExpander buildCommentExpander()

buildFileNameExpander

private static KeywordExpander buildFileNameExpander()

buildFileLocationExpander

private static KeywordExpander buildFileLocationExpander()

buildFileIDExpander

private static KeywordExpander buildFileIDExpander()

buildArchiveNameExpander

private static KeywordExpander buildArchiveNameExpander()
Adds archive name.


buildDoNothingExpander

private static KeywordExpander buildDoNothingExpander()
Just adds line to lines.


lookForKeyWords

public boolean lookForKeyWords()

keywordInLine

public KeywordInLine keywordInLine(java.lang.String line)
Returns null if no keyword in line.



Copyright 2003 Soucejammer project.