org.sonar.duplications.cpd
Class FileCodeLoaderWithoutCache

java.lang.Object
  extended by net.sourceforge.pmd.cpd.SourceCode.CodeLoader
      extended by org.sonar.duplications.cpd.CodeLoaderWithoutCache
          extended by org.sonar.duplications.cpd.FileCodeLoaderWithoutCache

public class FileCodeLoaderWithoutCache
extends CodeLoaderWithoutCache


Constructor Summary
FileCodeLoaderWithoutCache(File file, String encoding)
           
 
Method Summary
 String getFileName()
           
 Reader getReader()
           
 
Methods inherited from class org.sonar.duplications.cpd.CodeLoaderWithoutCache
getCode
 
Methods inherited from class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
load
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileCodeLoaderWithoutCache

public FileCodeLoaderWithoutCache(File file,
                                  String encoding)
Method Detail

getReader

public Reader getReader()
                 throws Exception
Specified by:
getReader in class SourceCode.CodeLoader
Throws:
Exception

getFileName

public String getFileName()
Specified by:
getFileName in class SourceCode.CodeLoader


Copyright © 2009-2012 SonarSource. All Rights Reserved.