org.codehaus.mojo.scmchangelog.changelog.log.grammar
Class AbstractScmGrammar

java.lang.Object
  extended by org.codehaus.mojo.scmchangelog.changelog.log.grammar.AbstractScmGrammar
All Implemented Interfaces:
ScmGrammar
Direct Known Subclasses:
AbstractRegexpScmGrammar, AcceptAllScmGrammar, BugzillaScmGrammar

public abstract class AbstractScmGrammar
extends Object
implements ScmGrammar

Abstract grammar to be used as an helper class.

Version:
$Id: AbstractScmGrammar.java 10686 2009-09-12 20:42:13Z ehsavoie $
Author:
ehsavoie

Field Summary
 
Fields inherited from interface org.codehaus.mojo.scmchangelog.changelog.log.ScmGrammar
NEW_LINE
 
Constructor Summary
AbstractScmGrammar()
           
 
Method Summary
 String removeComments(String content)
          Removes the comments from the content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.mojo.scmchangelog.changelog.log.ScmGrammar
extractMessage, getIssueSeparator, hasMessage
 

Constructor Detail

AbstractScmGrammar

public AbstractScmGrammar()
Method Detail

removeComments

public String removeComments(String content)
Removes the comments from the content.

Specified by:
removeComments in interface ScmGrammar
Parameters:
content - which comments will be removed.
Returns:
the content without the comments.


Copyright © 2008-2009 Codehaus. All Rights Reserved.