Package org.eclipse.mat.hprof
Class Pass2Parser
- java.lang.Object
-
- org.eclipse.mat.hprof.Pass2Parser
-
public class Pass2Parser extends java.lang.ObjectParser used to read the hprof formatted heap dump
-
-
Constructor Summary
Constructors Constructor Description Pass2Parser(IHprofParserHandler handler, SimpleMonitor.Listener monitor, HprofPreferences.HprofStrictness strictnessPreference, long streamLength, boolean parallel)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidread(java.io.File file, java.lang.String prefix, java.lang.String dumpNrToRead)static java.lang.ObjectreadValue(IPositionInputStream in, ISnapshot snapshot, int type, int idSize)
-
-
-
Constructor Detail
-
Pass2Parser
public Pass2Parser(IHprofParserHandler handler, SimpleMonitor.Listener monitor, HprofPreferences.HprofStrictness strictnessPreference, long streamLength, boolean parallel)
-
-
Method Detail
-
read
public void read(java.io.File file, java.lang.String prefix, java.lang.String dumpNrToRead) throws SnapshotException, java.io.IOException- Throws:
SnapshotExceptionjava.io.IOException
-
readValue
public static java.lang.Object readValue(IPositionInputStream in, ISnapshot snapshot, int type, int idSize) throws java.io.IOException
- Throws:
java.io.IOException
-
-