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