public class BomReader extends Reader
FileInputStream fis = new FileInputStream(file);
BomReader uin = new BomReader(fis);
Constructor and Description |
---|
BomReader(InputStream in)
构造
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
read(char[] cbuf,
int off,
int len) |
public BomReader(InputStream in)
in
- 流public int read(char[] cbuf, int off, int len) throws IOException
read
in class Reader
IOException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class Reader
IOException
Copyright © 2024. All rights reserved.