|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gmetrics.source.AbstractSourceCode
org.gmetrics.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 | |
---|---|
protected def
|
createSourceUnit()
|
String
|
getName()
|
String
|
getPath()
|
String
|
getText()
|
String
|
toString()
|
Methods inherited from class AbstractSourceCode | |
---|---|
createSourceUnit, normalizePath |
Constructor Detail |
---|
public SourceFile(File file)
Method Detail |
---|
protected def createSourceUnit()
String getName()
String getPath()
String getText()
String toString()
Groovy Documentation