|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codenarc.source.AbstractSourceCode
org.codenarc.source.SourceFile
class SourceFile extends AbstractSourceCode
The SourceCode implementation for a single file. Note that the path is normalized: file separator chars are normalized to standard '/'.
Constructor Summary | |
SourceFile(File file)
Construct a new instance for the file at the specified path |
Method Summary | |
---|---|
String
|
getName()
|
String
|
getPath()
|
String
|
getText()
|
String
|
toString()
|
Methods inherited from class AbstractSourceCode | |
---|---|
normalizePath |
Constructor Detail |
---|
public SourceFile(File file)
Method Detail |
---|
String getName()
String getPath()
String getText()
String toString()
Groovy Documentation