|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gate.corpora.RepositioningInfo.PositionInfo
Just information keeper inner class. No significant functionality.
Field Summary | |
private long |
m_currLength
Data members for one peace of text information |
private long |
m_currPos
Data members for one peace of text information |
private long |
m_origLength
Data members for one peace of text information |
private long |
m_origPos
Data members for one peace of text information |
(package private) static long |
serialVersionUID
Freeze the serialization UID. |
Constructor Summary | |
RepositioningInfo.PositionInfo(long orig,
long origLen,
long curr,
long currLen)
The only constructor. |
Method Summary | |
long |
getCurrentLength()
Length of peace of text in the extracted content |
long |
getCurrentPosition()
Position in the extracted (and probably changed) content |
long |
getOriginalLength()
Length of peace of text in the original content |
long |
getOriginalPosition()
Position in the original content |
String |
toString()
For debug purposes |
Methods inherited from class java.lang.Object |
|
Field Detail |
static final long serialVersionUID
private long m_origPos
private long m_origLength
private long m_currPos
private long m_currLength
Constructor Detail |
public RepositioningInfo.PositionInfo(long orig, long origLen, long curr, long currLen)
Method Detail |
public long getCurrentPosition()
public long getOriginalPosition()
public long getOriginalLength()
public long getCurrentLength()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |