What's the correct use of new Java 7 Path class? -
i use approach load files in applications:
path path = paths.get(classloader.class.getresource(filename).touri()); where filename structured "/package1/package2/folder/file.lol".
are there better, simpler, or more correct methods path object? need works inside jars too.
if want access file not in jar, there better solutions. since seems want access part of jar, no!
Comments
Post a Comment