Package net.sourceforge.pmd.cpd
Class SourceCode.FileCodeLoader
- java.lang.Object
-
- net.sourceforge.pmd.cpd.SourceCode.CodeLoader
-
- net.sourceforge.pmd.cpd.SourceCode.FileCodeLoader
-
- Enclosing class:
- SourceCode
public static class SourceCode.FileCodeLoader extends SourceCode.CodeLoader
-
-
Constructor Summary
Constructors Constructor Description FileCodeLoader(java.io.File file, java.lang.String encoding)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEncoding()
java.lang.String
getFileName()
java.io.Reader
getReader()
-
Methods inherited from class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
getCode, getCodeSlice, load, load
-
-
-
-
Method Detail
-
getReader
public java.io.Reader getReader() throws java.lang.Exception
- Specified by:
getReader
in classSourceCode.CodeLoader
- Throws:
java.lang.Exception
-
getEncoding
public java.lang.String getEncoding()
-
getFileName
public java.lang.String getFileName()
- Specified by:
getFileName
in classSourceCode.CodeLoader
-
-