mk.fsgrep.match
Class CJavaSearch

java.lang.Object
  extended by mk.fsgrep.match.FileSearch
      extended by mk.fsgrep.match.TextSearch
          extended by mk.fsgrep.match.CodeSearch
              extended by mk.fsgrep.match.CJavaSearch
All Implemented Interfaces:
java.lang.Runnable

public class CJavaSearch
extends CodeSearch

Author:
Murali Krishnan

Field Summary
static java.util.regex.Pattern RE_BLOCK_COMMENT_END
           
static java.util.regex.Pattern RE_BLOCK_COMMENT_ONELINE
           
static java.util.regex.Pattern RE_BLOCK_COMMENT_START
           
static java.util.regex.Pattern RE_LINE_COMMENT
           
static java.util.regex.Pattern RE_PRINCIPLE_COMMENT
           
 
Fields inherited from class mk.fsgrep.match.TextSearch
RE_BLANK_LINE
 
Constructor Summary
CJavaSearch()
           
 
Method Summary
protected  java.util.regex.Pattern reBlockCommentEnd()
           
protected  java.util.regex.Pattern reBlockCommentOneLine()
           
protected  java.util.regex.Pattern reBlockCommentStart()
           
protected  java.util.regex.Pattern reLineComment()
           
protected  java.util.regex.Pattern rePrincipleCommentPattern()
           
 
Methods inherited from class mk.fsgrep.match.CodeSearch
isInBlockComment, matchesNonComment, process, setInBlockComment
 
Methods inherited from class mk.fsgrep.match.TextSearch
handleMatch, search, setContinueReading, setStopAfterFirstMatch, shouldContinueReading, shouldStopAfterFirstMatch, stopAfterFirstMatch
 
Methods inherited from class mk.fsgrep.match.FileSearch
getCount, getFile, getLinesSearched, getModel, getOrCreateResults, getRE, getResults, incrementCount, incrementLinesSearched, initialize, run, setResults
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RE_PRINCIPLE_COMMENT

public static final java.util.regex.Pattern RE_PRINCIPLE_COMMENT

RE_LINE_COMMENT

public static final java.util.regex.Pattern RE_LINE_COMMENT

RE_BLOCK_COMMENT_START

public static final java.util.regex.Pattern RE_BLOCK_COMMENT_START

RE_BLOCK_COMMENT_END

public static final java.util.regex.Pattern RE_BLOCK_COMMENT_END

RE_BLOCK_COMMENT_ONELINE

public static final java.util.regex.Pattern RE_BLOCK_COMMENT_ONELINE
Constructor Detail

CJavaSearch

public CJavaSearch()
Method Detail

rePrincipleCommentPattern

protected java.util.regex.Pattern rePrincipleCommentPattern()
Overrides:
rePrincipleCommentPattern in class CodeSearch

reLineComment

protected java.util.regex.Pattern reLineComment()
Overrides:
reLineComment in class CodeSearch

reBlockCommentStart

protected java.util.regex.Pattern reBlockCommentStart()
Overrides:
reBlockCommentStart in class CodeSearch

reBlockCommentEnd

protected java.util.regex.Pattern reBlockCommentEnd()
Overrides:
reBlockCommentEnd in class CodeSearch

reBlockCommentOneLine

protected java.util.regex.Pattern reBlockCommentOneLine()
Overrides:
reBlockCommentOneLine in class CodeSearch


Copyright © 2009. All Rights Reserved.