62,614
社区成员
发帖
与我相关
我的任务
分享
public static void read(String filename) {
try {
System.out.println("....");
InputStream inputStream = new FileInputStream(filename);
int b;
while ((b = inputStream.read()) != -1) {
System.out.println(b);
}
} catch (Exception e) {
// TODO: handle exception
e.printStackTrace();
}
}