mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
16 lines
369 B
Java
16 lines
369 B
Java
import java.io.File;
|
|
import java.io.FileInputStream;
|
|
import java.io.IOException;
|
|
|
|
class C {
|
|
void m(File file) throws IOException {
|
|
<caret>FileInputStream fileInputStream = new FileInputStream(file);
|
|
int read;
|
|
do {
|
|
read = fileInputStream.read();
|
|
System.out.println(read);
|
|
}
|
|
while (read != -1);
|
|
}
|
|
}
|