|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbiz.c24.io.api.presentation.stream.DataReader.Locator
biz.c24.io.api.presentation.stream.BorderedCharDataReader.CharDataLocator
public class BorderedCharDataReader.CharDataLocator
The location in charachter stream representation class.
Provides the coordinates of location in charachter stream.
Field Summary |
---|
Fields inherited from class biz.c24.io.api.presentation.stream.DataReader.Locator |
---|
HASH_PRIME |
Constructor Summary | |
---|---|
BorderedCharDataReader.CharDataLocator(int offset,
int line,
int column)
Constructs the location with absolute offset, line & column number. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
int |
getColumn()
Returns the column number. |
int |
getLine()
Returns the line number. |
int |
hashCode()
Returns a hash code value for this instance. |
protected void |
reset()
|
String |
toString()
Returns a string representation of this instance. |
protected void |
update(int length)
Updates location coordinates on specified position delta. |
Methods inherited from class biz.c24.io.api.presentation.stream.DataReader.Locator |
---|
clone, getOffset |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BorderedCharDataReader.CharDataLocator(int offset, int line, int column)
offset
- The absolute offset in charachter stream.line
- The line number in charachter stream.column
- The column number in charachter stream.Method Detail |
---|
protected void reset()
reset
in class DataReader.Locator
public final int getLine()
public final int getColumn()
public int hashCode()
hashCode
in class DataReader.Locator
equals(Object)
,
Hashtable
public boolean equals(Object obj)
equals
in class DataReader.Locator
obj
- the reference object with which to compare.
hashCode()
,
Hashtable
public String toString()
toString
in class DataReader.Locator
protected void update(int length)
update
in class DataReader.Locator
length
- The delta between carrent and past location.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |