Created
April 27, 2018 13:13
-
-
Save DNAlchemist/c21a9be645680a43d4643345cf4c4756 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
import java.util.*; | |
import java.io.FileInputStream; | |
import java.io.File; | |
import java.io.FileNotFoundException; | |
import java.io.IOException; | |
public class TestIO { | |
void read(File file) { | |
{ | |
int i1; | |
FileInputStream fis1; | |
String s1; | |
try { | |
s1 = file.toString(); | |
fis1 = new FileInputStream(file); | |
i1 = fis1.read(); | |
} catch (FileNotFoundException _e) { | |
} catch (IOException _e) { | |
} | |
return; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment