FileDocCategorySizeDatePackage
PositionDependentRecordAtom.javaAPI DocApache Poi 3.0.12024Mon Jan 01 18:55:34 GMT 2007org.apache.poi.hslf.record

PositionDependentRecordAtom

public abstract class PositionDependentRecordAtom extends RecordAtom implements PositionDependentRecord
A special (and dangerous) kind of Record Atom that cares about where it lives on the disk, or who has other Atoms that care about where this is on the disk.
author
Nick Burch

Fields Summary
protected int
myLastOnDiskOffset
Our location on the disk, as of the last write out
Constructors Summary
Methods Summary
public intgetLastOnDiskOffset()
Fetch our location on the disk, as of the last write out

 return myLastOnDiskOffset; 
public voidsetLastOnDiskOffset(int offset)
Update the Record's idea of where on disk it lives, after a write out. Use with care...

 
		myLastOnDiskOffset = offset;
	
public abstract voidupdateOtherRecordReferences(java.util.Hashtable oldToNewReferencesLookup)
Offer the record the list of records that have changed their location as part of the writeout. Allows records to update their internal pointers to other records locations