Skip to content

Instantly share code, notes, and snippets.

@DNAlchemist
Created April 27, 2018 13:13
Show Gist options
  • Save DNAlchemist/c21a9be645680a43d4643345cf4c4756 to your computer and use it in GitHub Desktop.
Save DNAlchemist/c21a9be645680a43d4643345cf4c4756 to your computer and use it in GitHub Desktop.
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