- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for JarFile (0.04 sec)
-
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
File jarFile = File.createTempFile("with_circular_class_path", ".jar"); try { writeSelfReferencingJarFile(jarFile, "test.txt"); assertThat( new ClassPath.LocationInfo(jarFile, ClassPathTest.class.getClassLoader()) .scanResources()) .hasSize(1); } finally { jarFile.delete(); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 23K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java
&& artifact.getPath() != null) { Path artifactPath = artifact.getPath(); if (Files.isRegularFile(artifactPath)) { try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) { ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION); if (pluginDescriptorEntry != null) {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Mar 25 09:45:07 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
assertArgumentNotNull("jarFile", jarFile); try { jarFile.close(); } catch (final IOException e) { logger.log(format("ECL0017", e.getMessage()), e); } }
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
File jarFile = File.createTempFile("with_circular_class_path", ".jar"); try { writeSelfReferencingJarFile(jarFile, "test.txt"); assertThat( new ClassPath.LocationInfo(jarFile, ClassPathTest.class.getClassLoader()) .scanResources()) .hasSize(1); } finally { jarFile.delete(); } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 21:00:51 UTC 2025 - 25.7K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/transforms/Minify.kt
createJar(classGraph, classesDir, manifestFile, jarFile) return jarFile } private fun createJar(classGraph: ClassGraph, classesDir: File, manifestFile: File, jarFile: File) { try { JarOutputStream(BufferedOutputStream(FileOutputStream(jarFile))).use { jarOutputStream -> if (manifestFile.exists()) {Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Thu Dec 18 11:46:45 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java
* * @param jarFile * the Jar file (must not be {@literal null}) * @param handler * the handler to process resources (must not be {@literal null}) */ public static void forEach(final JarFile jarFile, final ResourceHandler handler) { assertArgumentNotNull("jarFile", jarFile); assertArgumentNotNull("handler", handler);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/ClassTraversalUtil.java
* </p> * * @param jarFile the Jar file (must not be {@literal null}) * @param handler the handler to process classes (must not be {@literal null}) */ public static void forEach(final JarFile jarFile, final ClassHandler handler) { assertArgumentNotNull("jarFile", jarFile); assertArgumentNotNull("handler", handler); if (jarFile.getName().toLowerCase().endsWith(WAR_FILE_EXTENSION)) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 9.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
* @param rootDir * The root directory. */ public JarFileTraverser(final JarFile jarFile, final String rootPackage, final String rootDir) { this.jarFile = jarFile; this.rootPackage = rootPackage; this.rootDir = rootDir; } /** * Constructs an instance. * * @param urlRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 18.6K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginEntry.kt
import java.io.IOException import java.util.Properties import java.util.jar.JarEntry import java.util.jar.JarFile data class PluginEntry(val pluginId: String, val implementationClass: String) fun pluginEntriesFrom(jar: File): List<PluginEntry> = try { JarFile(jar, false).use { jarFile -> jarFile.entries().asSequence().filter { isGradlePluginPropertiesFile(it) }.map { pluginEntry ->
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 1.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java
if (form.jarFile == null) { throwValidationError(messages -> messages.addErrorsPluginFileIsNotFound(GLOBAL, form.id), this::asListHtml); } if (!form.jarFile.getFileName().endsWith(".jar")) { throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, form.jarFile.getFileName()),
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 11.9K bytes - Viewed (0)