public final class AsciiLine extends SimpleAsciiLine
AsciiParser.
Supports user definable break codes as well as block-comment codes (default
block comment code = '$').| Modifier and Type | Field and Description |
|---|---|
protected byte[] |
data |
protected int |
length |
protected int |
position |
currentWord, lineCommentCode| Constructor and Description |
|---|
AsciiLine(java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asBytes() |
java.lang.String |
asString() |
boolean |
equals(java.lang.Object obj) |
boolean |
equalsIgnoreCase(byte[] bytes) |
boolean |
equalsIgnoreCase(java.lang.String text) |
byte |
getByteAt(int index) |
AsciiWord |
getNextWord()
Overridden to support break-characters and block-comments.
|
int |
hashCode() |
void |
setBreakCodes(byte[] breakCodes) |
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
getCurrentWord, getRestOfLine, setMarkersconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringprotected final byte[] data
protected int position
protected int length
public void setBreakCodes(byte[] breakCodes)
public AsciiWord getNextWord()
getNextWord in class SimpleAsciiLinepublic final byte getByteAt(int index)
public final byte[] asBytes()
public final java.lang.String asString()
public final boolean equalsIgnoreCase(java.lang.String text)
public final boolean equalsIgnoreCase(byte[] bytes)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class DumpableObjectCopyright © 2011 EsprIT-Systems. All Rights Reserved.