public class LineTextBuffer
extends java.lang.Object
Constructor and Description |
---|
LineTextBuffer() |
LineTextBuffer(java.lang.String[] strLines) |
Modifier and Type | Method and Description |
---|---|
void |
addLine() |
void |
addLine(int line) |
void |
clear() |
java.lang.String |
convertToString(char[] chars) |
int |
count() |
int |
getCurrentLine() |
int |
getCurrentPointer() |
java.lang.String |
getLine(int line) |
int |
getLineBufferLength() |
char[] |
getLineCharArray(int line) |
int |
getLineLength(int line) |
int |
getTotalLength() |
java.util.List<java.lang.String> |
lines() |
void |
pointerNewLine() |
void |
pointerRemoveLine() |
void |
removeLine() |
void |
removeLine(int line) |
void |
setCurrentLine(int currentLine) |
void |
setCurrentPointer(int currentPointer) |
void |
setLine(int line,
java.lang.String value) |
void |
setLineBufferLength(int lineBufferLength) |
void |
setLineBufferLengthInfinity() |
TVector |
toPointerPosition() |
TVector |
toPointerPosition(int line) |
TVector |
toPointerPosition(TVector vec) |
TVector |
toPointerPosition(TVector vec,
int line) |
TVector |
toPointerPosition(TVector vec,
int line,
int pos) |
public LineTextBuffer()
public LineTextBuffer(java.lang.String[] strLines)
public int getLineBufferLength()
public void setLineBufferLength(int lineBufferLength)
public void setLineBufferLengthInfinity()
public int count()
public void clear()
public void addLine()
public java.util.List<java.lang.String> lines()
public void removeLine()
public void addLine(int line)
public void removeLine(int line)
public java.lang.String getLine(int line)
public void setLine(int line, java.lang.String value)
public char[] getLineCharArray(int line)
public int getLineLength(int line)
public int getCurrentLine()
public int getCurrentPointer()
public int getTotalLength()
public void setCurrentLine(int currentLine)
public void setCurrentPointer(int currentPointer)
public TVector toPointerPosition()
public TVector toPointerPosition(int line)
public void pointerNewLine()
public void pointerRemoveLine()
public java.lang.String convertToString(char[] chars)