org.apache.poi.hdgf.pointers

## Class PointerFactory

- java.lang.Object
- - org.apache.poi.hdgf.pointers.PointerFactory

-     public final class PointerFactory
      extends java.lang.Object

  Factor class to create the appropriate pointers, based on the version of the file

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PointerFactory(int version)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Pointer[]` | `createContainerPointers(Pointer parent, byte[] data)` Parsers the `PointerContainingStream` contents and creates all the child Pointers for it
    `Pointer` | `createPointer(byte[] data, int offset)` Creates a single Pointer from the data at the given offset
    `int` | `getVersion()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### 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

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.