Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for ZipInputStream (0.14 sec)

  1. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         *
         * @param zipInputStream
         *            ZIPファイル形式の入力ストリーム。{@literal null}であってはいけません
         * @param handler
         *            クラスを処理するハンドラ。{@literal null}であってはいけません
         */
        public static void forEach(final ZipInputStream zipInputStream, final ClassHandler handler) {
            assertArgumentNotNull("zipInputStream", zipInputStream);
            assertArgumentNotNull("handler", handler);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

            }
        }
    
        /**
         * {@link ZipInputStream}をクローズします。
         * <p>
         * {@link ZipInputStream#closeEntry()}が例外をスローした場合はログにエラーメッセージを出力します。
         * 例外は再スローされません。
         * </p>
         *
         * @param zis
         *            {@link ZipInputStream}。{@literal null}であってはいけません
         * @see ZipInputStream#closeEntry()
         */
        public static void closeEntry(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            val DEFAULT_INCLUDES: List<String> = listOf(
                "org/gradle/fileevents"
            )
    
            @Throws(IOException::class)
            private
            fun openJarFile(file: Path): ZipInputStream {
                return ZipInputStream(Files.newInputStream(file))
            }
        }
    
        /**
         * Implementation code that can be unit-tested.
         *
         * <p>Visible for testing.</p>
         */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/ClassTraversalTest.java

    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.io.File;
    import java.net.JarURLConnection;
    import java.net.URL;
    import java.util.zip.ZipInputStream;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.jar.JarFileUtil;
    import org.codelibs.core.lang.ClassUtil;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         *
         * @param zipInputStream
         *            ZIPファイル形式の入力ストリーム。{@literal null}であってはいけません
         * @param handler
         *            リソースを処理するハンドラ。{@literal null}であってはいけません
         */
        public static void forEach(final ZipInputStream zipInputStream, final ResourceHandler handler) {
            assertArgumentNotNull("zipInputStream", zipInputStream);
            assertArgumentNotNull("handler", handler);
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/transforms/ExplodeZipAndFindJars.groovy

        @Override
        void transform(TransformOutputs outputs) {
            File gradleJars = outputs.dir("gradle-jars")
            File dependencies = outputs.dir("gradle-dependencies")
            try (ZipInputStream zin = new ZipInputStream(artifact.get().asFile.newInputStream())) {
                ZipEntry zipEntry
                while (zipEntry = zin.nextEntry) {
                    String shortName = zipEntry.name
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 08 13:44:59 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.io.File;
    import java.net.JarURLConnection;
    import java.net.URL;
    import java.util.zip.ZipInputStream;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.jar.JarFileUtil;
    import org.junit.Before;
    import org.junit.Test;
    
    /**
     * @author taedium
     */
    public class ResourceTraversalTest {
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ThemeHelper.java

            final String themeName = getThemeName(artifact);
            if (logger.isDebugEnabled()) {
                logger.debug("Theme: {}", themeName);
            }
            try (ZipInputStream zis = new ZipInputStream(Files.newInputStream(jarPath))) {
                ZipEntry entry;
                while ((entry = zis.getNextEntry()) != null) {
                    if (!entry.isDirectory()) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/io/TraversalUtil.java

                this.rootDir = rootDir;
                this.zipUrl = zipUrl;
                this.prefix = prefix;
            }
    
            private void loadFromZip(final URL zipUrl) {
                final ZipInputStream zis = new ZipInputStream(URLUtil.openStream(zipUrl));
                try {
                    ZipEntry entry = null;
                    while ((entry = ZipInputStreamUtil.getNextEntry(zis)) != null) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top