Last active
March 13, 2018 14:12
-
-
Save edwise/0094efe71a7287f11fff3dd4d8b81dfa to your computer and use it in GitHub Desktop.
Save files on project path
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
URL localFileUrl = Thread.currentThread() | |
.getContextClassLoader() | |
.getResource("subFolder/" + "fileName.txt"); | |
File file = new File(localFileUrl.getPath()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment