Java org.apache.commons.io ByteOrderMark fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.io ByteOrderMark fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.io ByteOrderMark.

The text is from its open source code.

Field

ByteOrderMarkUTF_8
UTF-8 BOM
ByteOrderMarkUTF_16BE
UTF-16BE BOM (Big Endian)
ByteOrderMarkUTF_16LE
UTF-16LE BOM (Little Endian)

Method

intget(int pos)
The byte at the specified position.
byte[]getBytes()
Return a copy of the BOM's bytes.
StringgetCharsetName()
Return the name of the java.nio.charset.Charset the BOM represents.
intlength()
Return the length of the BOM's bytes.