Uses of Class
org.apache.commons.io.ByteOrderMark
Packages that use ByteOrderMark
Package
Description
This package defines utility classes for working with streams, readers,
writers and files.
This package 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 ByteOrderMarkModifier and TypeFieldDescriptionstatic 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
Fields in org.apache.commons.io.input declared as ByteOrderMarkModifier and TypeFieldDescriptionprivate static final ByteOrderMark[]
XmlStreamReader.BOMS
private ByteOrderMark
BOMInputStream.byteOrderMark
private static final ByteOrderMark[]
XmlStreamReader.XML_GUESS_BYTES
Fields in org.apache.commons.io.input with type parameters of type ByteOrderMarkModifier and TypeFieldDescriptionprivate final List<ByteOrderMark>
BOMInputStream.boms
BOMs are sorted from longest to shortest.private static final Comparator<ByteOrderMark>
BOMInputStream.ByteOrderMarkLengthComparator
Compares ByteOrderMark objects in descending length order.Methods in org.apache.commons.io.input that return ByteOrderMarkModifier and TypeMethodDescriptionprivate ByteOrderMark
BOMInputStream.find()
Find a BOM with the specified bytes.BOMInputStream.getBOM()
Return the BOM (Byte Order Mark).Methods in org.apache.commons.io.input with parameters of type ByteOrderMarkModifier and TypeMethodDescriptionboolean
BOMInputStream.hasBOM
(ByteOrderMark bom) Indicates whether the stream contains the specified BOM.private boolean
BOMInputStream.matches
(ByteOrderMark bom) Check if the bytes match a BOM.Constructors in org.apache.commons.io.input with parameters of type ByteOrderMarkModifierConstructorDescriptionBOMInputStream
(InputStream delegate, boolean include, ByteOrderMark... boms) Constructs a new BOM InputStream that detects the specified BOMs and optionally includes them.BOMInputStream
(InputStream delegate, ByteOrderMark... boms) Constructs a new BOM InputStream that excludes the specified BOMs.