0
0
Fork 0

Add the FileSystem class to jlib

This commit is contained in:
Oliver Akins 2022-12-08 21:51:42 -06:00
parent abea3a6885
commit f982baa481
No known key found for this signature in database
GPG key ID: 3C2014AF9457AF99

12
jlib/FileSystem.java Normal file
View file

@ -0,0 +1,12 @@
package jlib;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class FileSystem {
public static Scanner readFile(String path) throws FileNotFoundException {
File f = new File(path);
return new Scanner(f);
}
}