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 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()
Return the BOM (Byte Order Mark).
|
Modifier and Type | Method and Description |
---|---|
boolean |
BOMInputStream.hasBOM(ByteOrderMark bom)
Indicates whether the stream contains the specified BOM.
|
Constructor and Description |
---|
BOMInputStream(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.
|
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.