Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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
`PointerFactory(int version)`

Method Summary
`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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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