public class BOMInputStream extends ProxyInputStream
in| 构造器和说明 |
|---|
BOMInputStream(InputStream delegate) |
BOMInputStream(InputStream delegate,
boolean include) |
BOMInputStream(InputStream delegate,
boolean include,
ByteOrderMark... boms) |
BOMInputStream(InputStream delegate,
ByteOrderMark... boms) |
| 限定符和类型 | 方法和说明 |
|---|---|
ByteOrderMark |
getBOM() |
String |
getBOMCharsetName() |
boolean |
hasBOM() |
boolean |
hasBOM(ByteOrderMark bom) |
void |
mark(int readlimit) |
int |
read() |
int |
read(byte[] buf) |
int |
read(byte[] buf,
int off,
int len) |
void |
reset() |
long |
skip(long n) |
afterRead, available, beforeRead, close, handleIOException, markSupportedpublic BOMInputStream(InputStream delegate)
public BOMInputStream(InputStream delegate, boolean include)
public BOMInputStream(InputStream delegate, ByteOrderMark... boms)
public BOMInputStream(InputStream delegate, boolean include, ByteOrderMark... boms)
public boolean hasBOM()
throws IOException
IOExceptionpublic boolean hasBOM(ByteOrderMark bom) throws IOException
IOExceptionpublic ByteOrderMark getBOM() throws IOException
IOExceptionpublic String getBOMCharsetName() throws IOException
IOExceptionpublic int read()
throws IOException
read 在类中 ProxyInputStreamIOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
read 在类中 ProxyInputStreamIOExceptionpublic int read(byte[] buf)
throws IOException
read 在类中 ProxyInputStreamIOExceptionpublic void mark(int readlimit)
mark 在类中 ProxyInputStreampublic void reset()
throws IOException
reset 在类中 ProxyInputStreamIOExceptionpublic long skip(long n)
throws IOException
skip 在类中 ProxyInputStreamIOExceptionCopyright © 2021. All rights reserved.