Class UnicodeBOMInputStream.BOM

java.lang.Object
org.mozilla.universalchardet.UnicodeBOMInputStream.BOM
Enclosing class:
UnicodeBOMInputStream

public static final class UnicodeBOMInputStream.BOM extends Object
Type safe enumeration class that describes the different types of Unicode BOMs.
  • Field Details

  • Constructor Details

    • BOM

      private BOM(byte[] bom, String description)
  • Method Details

    • toString

      public final String toString()
      Returns a String representation of this BOM value.
      Overrides:
      toString in class Object
    • getBytes

      public final byte[] getBytes()
      Returns the bytes corresponding to this BOM value.
      Returns:
      the bytes corresponding to this BOM value.