Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for jarFile (1.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

        private val unshadedPackages: Set<String>,
        private val ignorePackages: Set<String>
    ) {
    
        fun analyze(jarFile: File, classesDir: File, manifestFile: File, buildReceipt: File): ClassGraph {
            val classGraph = classGraph()
    
            val jarUri = URI.create("jar:${jarFile.toPath().toUri()}")
            FileSystems.newFileSystem(jarUri, emptyMap<String, Any>()).use { jarFileSystem ->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Sat Mar 22 03:48:38 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/tomcat/webresources/FessWebResourceRoot.java

            for (final WebResource possibleJar : possibleJars) {
                if (possibleJar.isFile() && possibleJar.getName().endsWith(".jar")) {
                    try (final JarFile jarFile = new JarFile(possibleJar.getCanonicalPath())) {
                        final Manifest manifest = jarFile.getManifest();
                        if (manifest != null && manifest.getEntries() != null) {
                            final Attributes attributes = manifest.getMainAttributes();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            }
        }
    
        private
        fun openJarFile(file: File) =
            openJars.computeIfAbsent(file, ::JarFile)
    
        override fun close() {
            openJars.values.forEach(JarFile::close)
        }
    }
    
    
    /**
     * See https://docs.oracle.com/javase/8/docs/technotes/tools/findingclasses.html#userclass
     */
    private
    val File.isClassPathArchive
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/view/admin/plugin/admin_plugin_installplugin.jsp

                                                <label for="jarFile" class="col-md-3 text-sm-right col-form-label"><la:message
                                                        key="labels.plugin_jar_file"/></label>
                                                <div class="col-md-9 text-sm-right col-form-label">
                                                    <input id="jarFile" type="file" name="jarFile" class="form-control-file"/>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 5.9K bytes
    - Viewed (0)
Back to top