Package net.sourceforge.pmd.cpd
Class SourceCode.ReaderCodeLoader
- java.lang.Object
-
- net.sourceforge.pmd.cpd.SourceCode.CodeLoader
-
- net.sourceforge.pmd.cpd.SourceCode.ReaderCodeLoader
-
- Enclosing class:
- SourceCode
public static class SourceCode.ReaderCodeLoader extends SourceCode.CodeLoader
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_NAME
-
Constructor Summary
Constructors Constructor Description ReaderCodeLoader(java.io.Reader code)
ReaderCodeLoader(java.io.Reader code, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFileName()
java.io.Reader
getReader()
-
Methods inherited from class net.sourceforge.pmd.cpd.SourceCode.CodeLoader
getCode, getCodeSlice, load, load
-
-
-
-
Field Detail
-
DEFAULT_NAME
public static final java.lang.String DEFAULT_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getReader
public java.io.Reader getReader()
- Specified by:
getReader
in classSourceCode.CodeLoader
-
getFileName
public java.lang.String getFileName()
- Specified by:
getFileName
in classSourceCode.CodeLoader
-
-