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 . |
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
ByteOrderMark |
BOMInputStream.getBOM()
Gets the BOM (Byte Order Mark).
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
BOMInputStream(InputStream delegate,
boolean include,
ByteOrderMark... boms)
Deprecated.
|
BOMInputStream(InputStream delegate,
ByteOrderMark... boms)
Deprecated.
|
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.