public class BomReader extends Reader
FileInputStream fis = new FileInputStream(file);
BomReader uin = new BomReader(fis);
| 构造器和说明 |
|---|
BomReader(InputStream in)
构造
|
public BomReader(InputStream in)
in - 流public int read(char[] cbuf,
int off,
int len)
throws IOException
read 在类中 ReaderIOExceptionpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 ReaderIOExceptionCopyright © 2022. All rights reserved.