Last active
December 7, 2016 08:56
-
-
Save AntonioDiaz/7e57b239e8e2f1f60a1207cafe6ca1c3 to your computer and use it in GitHub Desktop.
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
package mypackage; | |
import java.io.*; | |
import java.util.*; | |
public class ThisClassName { | |
public static void main(String[] args) throws IOException { | |
InputStream inputStream = ThisClassName.class.getClassLoader().getResourceAsStream("config.properties"); | |
Properties properties = new Properties(); | |
properties.load(inputStream); | |
File file = new File(properties.getProperty("input.path") + "repeated_string.txt"); | |
Scanner in = new Scanner(file); | |
// Scanner in = new Scanner(System.in); | |
in.close(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment