Package apg
Class Utilities.LineCatalog.Line
- java.lang.Object
-
- apg.Utilities.LineCatalog.Line
-
- Enclosing class:
- Utilities.LineCatalog
public class Utilities.LineCatalog.Line extends java.lang.Object
Class defining a catalog record for an individual line of text.
-
-
Field Summary
Fields Modifier and Type Field Description int
length
The number of characters in the line, including the line ending character(s).java.lang.String
line
The line as a String not encluding the line end character(s).java.lang.String
lineEnd
The line end character(s) formatted as "<LF>
" for a new line or line feed, "<CRLF>
" for a carriage return, line feed pair or "<CR>
" for a single carriage return character,int
lineno
The line number (1-based, the first line is 1)int
offset
Offset of the first character of text in the line.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Displays the line + lineEnd as a string.
-
-
-
Field Detail
-
lineno
public final int lineno
The line number (1-based, the first line is 1)
-
offset
public final int offset
Offset of the first character of text in the line.
-
length
public final int length
The number of characters in the line, including the line ending character(s).
-
line
public final java.lang.String line
The line as a String not encluding the line end character(s).
-
lineEnd
public final java.lang.String lineEnd
The line end character(s) formatted as "<LF>
" for a new line or line feed, "<CRLF>
" for a carriage return, line feed pair or "<CR>
" for a single carriage return character,
-
-