|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IObjectReader
Part of the parser which retrieves detailed information about an object
Method Summary | ||
---|---|---|
void |
close()
tidy up when snapshot no longer required |
|
|
getAddon(Class<A> addon)
Get additional information about the snapshot |
|
void |
open(ISnapshot snapshot)
Open the dump file associated with the snapshot |
|
IObject |
read(int objectId,
ISnapshot snapshot)
Get detailed information about an object |
|
long[] |
readObjectArrayContent(ObjectArrayImpl array,
int offset,
int length)
Get detailed information about a object array |
|
Object |
readPrimitiveArrayContent(PrimitiveArrayImpl array,
int offset,
int length)
Get detailed information about a primitive array |
Method Detail |
---|
void open(ISnapshot snapshot) throws SnapshotException, IOException
snapshot
-
SnapshotException
IOException
IObject read(int objectId, ISnapshot snapshot) throws SnapshotException, IOException
objectId
- the object idsnapshot
- the snapshot
InstanceImpl
, ObjectArrayImpl
, PrimitiveArrayImpl
, ClassLoaderImpl
SnapshotException
IOException
Object readPrimitiveArrayContent(PrimitiveArrayImpl array, int offset, int length) throws IOException, SnapshotException
array
- the arrayoffset
- where in the array to startlength
- how much to read
IOException
SnapshotException
long[] readObjectArrayContent(ObjectArrayImpl array, int offset, int length) throws IOException, SnapshotException
array
- offset
- where in the array to startlength
- how much to read
IOException
SnapshotException
<A> A getAddon(Class<A> addon) throws SnapshotException
addon
- type of the additional information
SnapshotException
void close() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |