public final class SourceFile
extends java.lang.Object
Constructor and Description |
---|
SourceFile(java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilename()
Obtains the name of the file.
|
int |
getRawLineCount()
Obtains the number of lines in the file including comments, ignored lines, etc.
|
int |
getSignificantLineCount()
Obtains the number of lines in the file excluding comments, ignored lines, etc.
|
public java.lang.String getFilename()
public int getRawLineCount()
public int getSignificantLineCount()
Copyright (c) 2003-2018 Simon Harris. All rights reserved.