public class JiraFileInputStream extends InputStream
Modifier and Type | Field and Description |
---|---|
static byte[][] |
BOMBYTES |
static int |
MAXBOMBYTES
No bom sequence is longer than 4 bytes
|
static int |
NONE |
static byte[] |
UTF16BEBOMBYTES |
static byte[] |
UTF16LEBOMBYTES |
static byte[] |
UTF32BEBOMBYTES |
static byte[] |
UTF32LEBOMBYTES |
static byte[] |
UTF8BOMBYTES |
Constructor and Description |
---|
JiraFileInputStream(File file,
String zipEntryName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getSize() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
available, mark, markSupported, read, reset, skip
public static final byte[] UTF32BEBOMBYTES
public static final byte[] UTF32LEBOMBYTES
public static final byte[] UTF16BEBOMBYTES
public static final byte[] UTF16LEBOMBYTES
public static final byte[] UTF8BOMBYTES
public static final byte[][] BOMBYTES
public static final int NONE
public static final int MAXBOMBYTES
public JiraFileInputStream(File file, String zipEntryName) throws IOException
IOException
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public long getSize()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
IOException
Copyright © 2002-2019 Atlassian. All Rights Reserved.