Class PointerFactory


  • public final class PointerFactory
    extends java.lang.Object
    Factor class to create the appropriate pointers, based on the version of the file
    • Constructor Detail

      • PointerFactory

        public PointerFactory​(int version)
    • Method Detail

      • getVersion

        public int getVersion()
      • createPointer

        public Pointer createPointer​(byte[] data,
                                     int offset)
        Creates a single Pointer from the data at the given offset
      • createContainerPointers

        public Pointer[] createContainerPointers​(Pointer parent,
                                                 byte[] data)
        Parsers the PointerContainingStream contents and creates all the child Pointers for it