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, setMarkers
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
protected final byte[] data
protected int position
protected int length
public void setBreakCodes(byte[] breakCodes)
public AsciiWord getNextWord()
getNextWord
in class SimpleAsciiLine
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
Copyright © 2011 EsprIT-Systems. All Rights Reserved.