Class HprofRandomAccessParser


  • public class HprofRandomAccessParser
    extends java.lang.Object
    • Constructor Detail

      • HprofRandomAccessParser

        public HprofRandomAccessParser​(java.io.File file,
                                       java.lang.String prefix,
                                       Version version,
                                       int identifierSize,
                                       long len,
                                       HprofPreferences.HprofStrictness strictnessPreference)
                                throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • readObjectArray

        public long[] readObjectArray​(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor,
                                      int offset,
                                      int length)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • readPrimitiveArray

        public byte[] readPrimitiveArray​(org.eclipse.mat.hprof.ArrayDescription.Offline descriptor,
                                         int offset,
                                         int length)
                                  throws java.io.IOException
        Throws:
        java.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