Uses of Class
org.apache.commons.io.ByteOrderMark
-
Packages that use ByteOrderMark Package Description org.apache.commons.io This package defines utility classes for working with streams, readers, writers and files.org.apache.commons.io.input This package provides implementations of input classes, such asInputStream
andReader
. -
-
Uses of ByteOrderMark in org.apache.commons.io
Fields in org.apache.commons.io declared as ByteOrderMark Modifier and Type Field Description static ByteOrderMark
ByteOrderMark. UTF_16BE
UTF-16BE BOM (Big-Endian)static ByteOrderMark
ByteOrderMark. UTF_16LE
UTF-16LE BOM (Little-Endian)static ByteOrderMark
ByteOrderMark. UTF_32BE
UTF-32BE BOM (Big-Endian)static ByteOrderMark
ByteOrderMark. UTF_32LE
UTF-32LE BOM (Little-Endian)static 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 ByteOrderMark Modifier and Type Field Description private static ByteOrderMark[]
XmlStreamReader. BOMS
private ByteOrderMark
BOMInputStream. byteOrderMark
private static ByteOrderMark[]
XmlStreamReader. XML_GUESS_BYTES
Fields in org.apache.commons.io.input with type parameters of type ByteOrderMark Modifier and Type Field Description private java.util.List<ByteOrderMark>
BOMInputStream. boms
BOMs are sorted from longest to shortest.private static java.util.Comparator<ByteOrderMark>
BOMInputStream. ByteOrderMarkLengthComparator
Compares ByteOrderMark objects in descending length order.Methods in org.apache.commons.io.input that return ByteOrderMark Modifier and Type Method Description private ByteOrderMark
BOMInputStream. find()
Find a BOM with the specified bytes.ByteOrderMark
BOMInputStream. getBOM()
Return the BOM (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)
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 ByteOrderMark Constructor Description BOMInputStream(java.io.InputStream delegate, boolean include, ByteOrderMark... boms)
Constructs a new BOM InputStream that detects the specified BOMs and optionally includes them.BOMInputStream(java.io.InputStream delegate, ByteOrderMark... boms)
Constructs a new BOM InputStream that excludes the specified BOMs.
-