Package org.apache.commons.imaging.common

# Class BinaryFileParser

java.lang.Object
org.apache.commons.imaging.common.BinaryFileParser

Direct Known Subclasses:
  `AbstractImageParser`, `AbstractSegment`, `AbstractTransparencyFilter`, `AbstractWebPChunk`, `ExifRewriter`, `IccProfileParser`, `IptcParser`, `JpegDecoder`, `JpegRewriter`, `JpegUtils`, `JpegXmpParser`, `PngChunk`, `TiffReader`

public class BinaryFileParser extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `BinaryFileParser()`
  Constructs a new instance with the default, big-endian, byte order.
  `BinaryFileParser(ByteOrder byteOrder)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected final void`
  `debugNumber(PrintWriter pw, String msg, int data, int bytes)`
  `protected final void`
  `debugNumber(String msg, int data, int bytes)`
  `ByteOrder`
  `getByteOrder()`
  `protected void`
  `setByteOrder(ByteOrder byteOrder)`

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

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

- ## Constructor Details

  - ### BinaryFileParser

    public BinaryFileParser()
    Constructs a new instance with the default, big-endian, byte order.

  - ### BinaryFileParser

    public BinaryFileParser(ByteOrder byteOrder)

- ## Method Details

  - ### debugNumber

    protected final void debugNumber(PrintWriter pw, String msg, int data, int bytes)

  - ### debugNumber

    protected final void debugNumber(String msg, int data, int bytes)

  - ### getByteOrder

    public ByteOrder getByteOrder()

  - ### setByteOrder

    protected void setByteOrder(ByteOrder byteOrder)