public class HprofParser
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
HprofParser.DumpType |
static class |
HprofParser.FieldType |
static class |
HprofParser.TagType |
Constructor and Description |
---|
HprofParser(Path path) |
Modifier and Type | Method and Description |
---|---|
int |
basicSize(int type) |
void |
close() |
long |
getTagTime() |
void |
readDump(HprofDumpHandler handler) |
void |
readLoadClass(HprofDumpHandler handler) |
java.lang.String |
readString(int length) |
void |
readStringInUtf8(HprofDumpHandler handler) |
HprofParser.TagType |
readTagStart() |
void |
skipToTagEnd() |
java.lang.String |
toString() |
public HprofParser(Path path) throws java.io.IOException
java.io.IOException
public HprofParser.TagType readTagStart() throws java.io.IOException
java.io.IOException
public long getTagTime()
public void skipToTagEnd() throws java.io.IOException
java.io.IOException
public void readStringInUtf8(HprofDumpHandler handler) throws java.io.IOException
java.io.IOException
public java.lang.String readString(int length) throws java.io.IOException
java.io.IOException
public void readLoadClass(HprofDumpHandler handler) throws java.io.IOException
java.io.IOException
public void readDump(HprofDumpHandler handler) throws java.io.IOException
java.io.IOException
public int basicSize(int type)
public void close()
public java.lang.String toString()
toString
in class java.lang.Object