|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.hssf.record.aggregates.RecordAggregate.PositionTrackingVisitor
public static final class RecordAggregate.PositionTrackingVisitor
A wrapper for RecordAggregate.RecordVisitor
which accumulates the sizes of all
records visited.
Constructor Summary | |
---|---|
RecordAggregate.PositionTrackingVisitor(RecordAggregate.RecordVisitor rv,
int initialPosition)
|
Method Summary | |
---|---|
int |
getPosition()
|
void |
setPosition(int position)
|
void |
visitRecord(Record r)
Implementors may call non-mutating methods on Record r. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecordAggregate.PositionTrackingVisitor(RecordAggregate.RecordVisitor rv, int initialPosition)
Method Detail |
---|
public void visitRecord(Record r)
RecordAggregate.RecordVisitor
visitRecord
in interface RecordAggregate.RecordVisitor
r
- must not be null
public void setPosition(int position)
public int getPosition()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |