|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextBlock
A block of text from an inputfile that does not necessarily have any grammatical structure.
| Method Summary | |
|---|---|
int |
getEndColNo()
The column in the inputfile where the text block ends. |
int |
getEndLineNo()
The last line of the text block in the inputfile. |
int |
getStartColNo()
The column in the inputfile where the text block starts. |
int |
getStartLineNo()
The line in the inputfile where the text block starts. |
String[] |
getText()
The text content of the text block. |
boolean |
intersects(int aStartLineNo,
int aStartColNo,
int aEndLineNo,
int aEndColNo)
Checks if this comment intersects with a specified part of the file. |
| Method Detail |
|---|
String[] getText()
int getStartLineNo()
int getEndLineNo()
int getStartColNo()
int getEndColNo()
boolean intersects(int aStartLineNo,
int aStartColNo,
int aEndLineNo,
int aEndColNo)
aStartLineNo - the starting line number in the fileaStartColNo - the starting column number in the fileaEndLineNo - the ending line number in the fileaEndColNo - the ending column number in the file
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||