Last active
February 18, 2020 13:43
-
-
Save xodhx4/1a1c47c70294783c7257bc8b2632de2a to your computer and use it in GitHub Desktop.
[In java, make file to Inputstream] For ps, make Filestream as Inputstream #Inputstream #Filestream
This file contains 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
class FileReader { | |
public static void main(String[] argc) { | |
InputStream inputStream = FileReader.class.getClass().getResourceAsStream("/RootFromResourceFile/b1018.txt"); | |
// inputStream = System.in | |
Scanner scanner = new Scanner(inputStream); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment