org.sonar.plugins.cpd
Class JavaCpdMapping

java.lang.Object
  extended by org.sonar.plugins.cpd.JavaCpdMapping
All Implemented Interfaces:
CpdMapping, BatchComponent, BatchExtension, Extension

public class JavaCpdMapping
extends Object
implements CpdMapping


Constructor Summary
JavaCpdMapping(Project project)
           
 
Method Summary
 Resource createResource(File file, List<File> sourceDirs)
           
 Language getLanguage()
           
 Tokenizer getTokenizer()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaCpdMapping

public JavaCpdMapping(Project project)
Method Detail

getTokenizer

public Tokenizer getTokenizer()
Specified by:
getTokenizer in interface CpdMapping

createResource

public Resource createResource(File file,
                               List<File> sourceDirs)
Specified by:
createResource in interface CpdMapping

getLanguage

public Language getLanguage()
Specified by:
getLanguage in interface CpdMapping


Copyright © 2009-2012 SonarSource. All Rights Reserved.