@param file Path to file in classpath. @return File reference. @throws IOException Thrown if the URL to the file could not be created.
(String file)
| 23 | * Thrown if the URL to the file could not be created. |
| 24 | */ |
| 25 | public static Path getClasspathFile(String file) throws IOException { |
| 26 | return new File(URLDecoder.decode(getClasspathUrl(file).getFile(), "UTF-8")).toPath(); |
| 27 | } |
| 28 | |
| 29 | /** |
| 30 | * @param file |
no test coverage detected