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.IOExceptionpublic HprofParser.TagType readTagStart() throws java.io.IOException
java.io.IOExceptionpublic long getTagTime()
public void skipToTagEnd()
throws java.io.IOException
java.io.IOExceptionpublic void readStringInUtf8(HprofDumpHandler handler) throws java.io.IOException
java.io.IOExceptionpublic java.lang.String readString(int length)
throws java.io.IOException
java.io.IOExceptionpublic void readLoadClass(HprofDumpHandler handler) throws java.io.IOException
java.io.IOExceptionpublic void readDump(HprofDumpHandler handler) throws java.io.IOException
java.io.IOExceptionpublic int basicSize(int type)
public void close()
public java.lang.String toString()
toString in class java.lang.Object