org.suigeneris.jrcs.rcs.text
Class KeywordOnlyFormatter

java.lang.Object
  extended by org.suigeneris.jrcs.rcs.text.KeywordFormatter
      extended by org.suigeneris.jrcs.rcs.text.KeywordOnlyFormatter

public class KeywordOnlyFormatter
extends KeywordFormatter

Formatter for the RCS keywords in "keyword only" mode.

Author:
Stephane Bailliez

Field Summary
 
Fields inherited from class org.suigeneris.jrcs.rcs.text.KeywordFormatter
AUTHOR_RE, DATE_RE, HEADER_RE, ID_RE, LOCKER_RE, LOG_RE, NAME_RE, RCSFILE_RE, REVISION_RE, SOURCE_RE, STATE_RE
 
Constructor Summary
KeywordOnlyFormatter()
           
 
Method Summary
 java.lang.String update(java.lang.String text, java.lang.Object[] revisionInfo)
          update the given text made of RCS keywords with the appropriate revision info.
 
Methods inherited from class org.suigeneris.jrcs.rcs.text.KeywordFormatter
getAuthorFormat, getDateFormat, getHeaderFormat, getIdFormat, getKeywordAndValueFormatter, getKeywordOnlyFormatter, getLockerFormat, getRCSFileFormat, getRevisionFormat, getSourceFormat, getStateFormat, getValueOnlyFormatter, remove, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeywordOnlyFormatter

public KeywordOnlyFormatter()
Method Detail

update

public java.lang.String update(java.lang.String text,
                               java.lang.Object[] revisionInfo)
update the given text made of RCS keywords with the appropriate revision info.

Overrides:
update in class KeywordFormatter
Parameters:
text - the input text containing the RCS keywords.
revisionInfo - the revision information.
Returns:
the formatted text with the RCS keywords.


Copyright © 1999-2006 Juancarlo Añez, Caracas, Venezuela.
Some rights reserved
. http://www.suigeneris.org/jrcs