net.sourceforge.pmd.cpd
Class JavaTokenizer

java.lang.Object
  extended by net.sourceforge.pmd.cpd.JavaTokenizer
All Implemented Interfaces:
Tokenizer

public class JavaTokenizer
extends Object
implements Tokenizer


Field Summary
static String CPD_END
           
static String CPD_START
           
 
Fields inherited from interface net.sourceforge.pmd.cpd.Tokenizer
DEFAULT_SKIP_BLOCKS_PATTERN, IGNORE_ANNOTATIONS, IGNORE_IDENTIFIERS, IGNORE_LITERALS, OPTION_SKIP_BLOCKS, OPTION_SKIP_BLOCKS_PATTERN
 
Constructor Summary
JavaTokenizer()
           
 
Method Summary
 void setIgnoreAnnotations(boolean ignoreAnnotations)
           
 void setIgnoreIdentifiers(boolean ignore)
           
 void setIgnoreLiterals(boolean ignore)
           
 void setProperties(Properties properties)
           
 void tokenize(SourceCode sourceCode, Tokens tokenEntries)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CPD_START

public static final String CPD_START
See Also:
Constant Field Values

CPD_END

public static final String CPD_END
See Also:
Constant Field Values
Constructor Detail

JavaTokenizer

public JavaTokenizer()
Method Detail

setProperties

public void setProperties(Properties properties)

tokenize

public void tokenize(SourceCode sourceCode,
                     Tokens tokenEntries)
Specified by:
tokenize in interface Tokenizer

setIgnoreLiterals

public void setIgnoreLiterals(boolean ignore)

setIgnoreIdentifiers

public void setIgnoreIdentifiers(boolean ignore)

setIgnoreAnnotations

public void setIgnoreAnnotations(boolean ignoreAnnotations)


Copyright © 2002-2015 InfoEther. All Rights Reserved.