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, skippublic 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
IOExceptionpublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic long getSize()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOExceptionCopyright © 2002-2021 Atlassian. All Rights Reserved.