|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.pmd.SourceTypeDiscoverer
This class can give the SourceType of a source file.
| Constructor Summary | |
SourceTypeDiscoverer()
Public constructor. |
|
| Method Summary | |
SourceType |
getSourceTypeOfFile(java.io.File sourceFile)
Get the SourceType of a given source file. |
SourceType |
getSourceTypeOfFile(java.lang.String fileName)
Get the SourceType of a source file with given name. |
SourceType |
getSourceTypeOfJavaFiles()
|
void |
setSourceTypeOfJavaFiles(SourceType sourceType)
Set the SourceType of files with ".java" extension. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SourceTypeDiscoverer()
| Method Detail |
public SourceType getSourceTypeOfFile(java.io.File sourceFile)
sourceFile - The File
public SourceType getSourceTypeOfFile(java.lang.String fileName)
fileName - The File
public void setSourceTypeOfJavaFiles(SourceType sourceType)
sourceType - the wanted SourceTypepublic SourceType getSourceTypeOfJavaFiles()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||