Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (String nativeFile : nativeFiles) {
- InputStream inputStream = IOHelper.class.getResourceAsStream("/" + nativeFile);
- Path nativePath = dataDir.resolve(nativeFile);
- if (Files.notExists(nativePath)) {
- Files.createDirectories(nativePath.getParent());
- Files.copy(inputStream, nativePath);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement