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.util
Class PngUtils

    java.lang.Object
      org.apache.poi.util.PngUtils

    public final class PngUtils

extends java.lang.Object

Method Summary
`static boolean` | `matchesPngHeader(byte[] data, int offset)` Checks if the offset matches the PNG header.

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

Method Detail

### matchesPngHeader

    public static boolean matchesPngHeader(byte[] data,
                                           int offset)

  Checks if the offset matches the PNG header.

  Parameters:
    `data` - the data to check.
    `offset` - the offset to check at.
  Returns:
    `true` if the offset matches.

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.