- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for jarUrl (0.08 sec)
-
src/main/java/org/codelibs/core/jar/JarFileUtil.java
* * @param jarUrl the URL of the JAR file (must not be {@literal null}) * @return a <code>JarFile</code> to read the JAR file specified by the URL */ public static JarFile toJarFile(final URL jarUrl) { assertArgumentNotNull("jarUrl", jarUrl); final URLConnection con = URLUtil.openConnection(jarUrl); if (con instanceof JarURLConnection) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
final URL classURL = ResourceUtil.getResource(classFilePath); final URL jarURL = new File(JarFileUtil.toJarFilePath(classURL)).toURI().toURL(); ResourceTraversalUtil.forEach(new ZipInputStream(jarURL.openStream()), (ResourceHandler) (path, is) -> { try { if (count < 10) { System.out.println(path);
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ClassTraversalTest.java
final URL classURL = ResourceUtil.getResource(classFilePath); final URL jarURL = new File(JarFileUtil.toJarFilePath(classURL)).toURI().toURL(); ClassTraversalUtil.forEach(new ZipInputStream(jarURL.openStream()), (ClassHandler) (packageName, shortClassName) -> { if (count < 10) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
if (zipUrlString.toUpperCase().endsWith(WAR_CLASSES_PREFIX)) { final URL warUrl = URLUtil.create(zipUrl, "../.."); final String path = warUrl.getPath(); zipUrl = FileUtil.toURL(new File(path.substring(0, path.length() - 1))); prefix = zipUrlString.substring(warUrl.toExternalForm().length()); loadFromZip(zipUrl); } }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 18.6K bytes - Viewed (0)