public class RepositioningInfo.PositionInfo extends Object implements Serializable
Constructor and Description |
---|
PositionInfo(long orig,
long origLen,
long curr,
long currLen)
The only constructor.
|
Modifier and Type | Method and Description |
---|---|
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
|
public PositionInfo(long orig, long origLen, long curr, long currLen)
public long getCurrentPosition()
public long getOriginalPosition()
public long getOriginalLength()
public long getCurrentLength()
Copyright © 2024 GATE. All rights reserved.