Class Overview
An input streams that handles Unicode Byte-Order Mark (BOM) marker within a normal file as well as a ZIP file.
Distilled and adapted from http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6206835
Constants
public
static
final
int
MAXBOMBYTES
No bom sequence is longer than 4 bytes
Constant Value:
4
(0x00000004)
public
static
final
int
NONE
Constant Value:
-1
(0xffffffff)
Fields
public
static
final
byte[][]
BOMBYTES
public
static
final
byte[]
UTF16BEBOMBYTES
public
static
final
byte[]
UTF16LEBOMBYTES
public
static
final
byte[]
UTF32BEBOMBYTES
public
static
final
byte[]
UTF32LEBOMBYTES
public
static
final
byte[]
UTF8BOMBYTES
Public Constructors
public
JiraFileInputStream
(File file, String zipEntryName)
Public Methods
public
int
read
(byte[] b, int off, int len)