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 PointerV5

    java.lang.Object
      org.apache.poi.hdgf.pointers.Pointer
          org.apache.poi.hdgf.pointers.PointerV5

    public final class PointerV5

extends Pointer

A Pointer from v5

Constructor Summary
`PointerV5()`

Method Summary
`boolean` | `destinationCompressed()`
`boolean` | `destinationHasChunks()`
`boolean` | `destinationHasPointers()`
`boolean` | `destinationHasStrings()`
`int` | `getNumPointers(int offset, byte[] data)` 16 bit int at the given offset
`int` | `getNumPointersOffset(byte[] data)` Depends on the type only, not stored
`int` | `getPostNumPointersSkip()` Just the 2 bytes of the number of pointers
`int` | `getSizeInBytes()` With v6 pointers, the on-disk size is 16 bytes

Methods inherited from class org.apache.poi.hdgf.pointers.Pointer
`getAddress, getFormat, getLength, getOffset, getType, isFormatBetween, setAddress, setFormat, setLength, setOffset, setType`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PointerV5

    public PointerV5()

Method Detail

### destinationHasStrings

    public boolean destinationHasStrings()

  Specified by:
    `destinationHasStrings` in class `Pointer`

### destinationHasPointers

    public boolean destinationHasPointers()

  Specified by:
    `destinationHasPointers` in class `Pointer`

### destinationHasChunks

    public boolean destinationHasChunks()

  Specified by:
    `destinationHasChunks` in class `Pointer`

### destinationCompressed

    public boolean destinationCompressed()

  Specified by:
    `destinationCompressed` in class `Pointer`

### getSizeInBytes

    public int getSizeInBytes()

  With v6 pointers, the on-disk size is 16 bytes

  Specified by:
    `getSizeInBytes` in class `Pointer`

### getNumPointersOffset

    public int getNumPointersOffset(byte[] data)

  Depends on the type only, not stored

  Specified by:
    `getNumPointersOffset` in class `Pointer`

### getNumPointers

    public int getNumPointers(int offset,
                              byte[] data)

  16 bit int at the given offset

  Specified by:
    `getNumPointers` in class `Pointer`

### getPostNumPointersSkip

    public int getPostNumPointersSkip()

  Just the 2 bytes of the number of pointers

  Specified by:
    `getPostNumPointersSkip` in class `Pointer`

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.