com.beaglebuddy.ape

## Class APEHeader

- java.lang.Object
- - com.beaglebuddy.ape.APEFooter
  - - com.beaglebuddy.ape.APEHeader

-     public class APEHeader
      extends APEFooter

  This class provides methods for reading the APE header in an `APE tag`. The APE tag header is only found in APEv2 tags, and allows an APEv2 tag to be located at the beginning of an .mp3 file instead of the end. It is 32 bytes long.

  See Also:
    APEv1 Specification, APEv2 Specification

- - ### Field Summary

    - ### Fields inherited from class com.beaglebuddy.ape.APEFooter

      `SIZE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `APEHeader(byte[] bytes)` constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `toString()` gets a string representation of the APE header.

    - ### Methods inherited from class com.beaglebuddy.ape.APEFooter

      `getFlags, getNumItems, getSize, getTagSize, getVersion, toString`

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

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

- - ### Constructor Detail

    - #### APEHeader

          public APEHeader(byte[] bytes)
                    throws ParseException

      constructor.
      Parameters:
        `bytes` - bytes from an APE tag.
      Throws:
        `ParseException` - if the bytes do not contain a valid APE header.

  - ### Method Detail

    - #### toString

          public java.lang.String toString()

      gets a string representation of the APE header.
      Overrides:
        `toString` in class `APEFooter`
      Returns:
        a string representation of the APE header.