# Uses of Class
org.apache.commons.io.ByteOrderMark

Packages that use ByteOrderMark
Package
Description
org.apache.commons.io
Provides classes for working with streams, readers, writers and files.
org.apache.commons.io.input
Provides implementations of input classes, such as `InputStream` and `Reader`.

- ## Uses of ByteOrderMark in org.apache.commons.io

  Fields in org.apache.commons.io declared as ByteOrderMark
  Modifier and Type
  Field
  Description
  `static final ByteOrderMark`
  ByteOrderMark.`UTF_16BE`
  UTF-16BE BOM (Big-Endian).
  `static final ByteOrderMark`
  ByteOrderMark.`UTF_16LE`
  UTF-16LE BOM (Little-Endian).
  `static final ByteOrderMark`
  ByteOrderMark.`UTF_32BE`
  UTF-32BE BOM (Big-Endian).
  `static final ByteOrderMark`
  ByteOrderMark.`UTF_32LE`
  UTF-32LE BOM (Little-Endian).
  `static final ByteOrderMark`
  ByteOrderMark.`UTF_8`
  UTF-8 BOM.

- ## Uses of ByteOrderMark in org.apache.commons.io.input

  Methods in org.apache.commons.io.input that return ByteOrderMark
  Modifier and Type
  Method
  Description
  `ByteOrderMark`
  BOMInputStream.`getBOM()`
  Gets the ByteOrderMark (Byte Order Mark).
  Methods in org.apache.commons.io.input with parameters of type ByteOrderMark
  Modifier and Type
  Method
  Description
  `boolean`
  BOMInputStream.`hasBOM(ByteOrderMark bom)`
  Tests whether the stream contains the specified BOM.
  `BOMInputStream.Builder`
  BOMInputStream.Builder.`setByteOrderMarks(ByteOrderMark... byteOrderMarks)`
  Sets the ByteOrderMarks to detect and optionally exclude.
  Constructors in org.apache.commons.io.input with parameters of type ByteOrderMark
  Modifier
  Constructor
  Description
  ``
  `BOMInputStream(InputStream delegate, boolean include, ByteOrderMark... boms)`
  Deprecated.
  Use `BOMInputStream.builder()`, `BOMInputStream.Builder`, and `BOMInputStream.Builder.get()`
  ``
  `BOMInputStream(InputStream delegate, ByteOrderMark... boms)`
  Deprecated.
  Use `BOMInputStream.builder()`, `BOMInputStream.Builder`, and `BOMInputStream.Builder.get()`