Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for zipEntry (0.11 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java

                for (ZipEntry entry : entries) {
                    if (entry.isDirectory()) {
                        continue;
                    }
                    visitor.visit(new ZipClasspathEntry(entry));
                }
            }
        }
    
        private static class ZipClasspathEntry implements ClasspathEntryVisitor.Entry {
            private final ZipEntry entry;
    
            public ZipClasspathEntry(ZipEntry entry) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java

         */
        abstract Optional<HashCode> tryHash(ZipEntryContext zipEntryContext);
    
        private static class CachingZipEntry implements ZipEntry {
            private final ZipEntry delegate;
            private byte[] content;
    
            public CachingZipEntry(ZipEntry delegate) {
                this.delegate = delegate;
            }
    
            @Override
            public boolean isDirectory() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/zip/ZipInputStreamUtil.java

         * {@link ZipInputStream#getNextEntry()}の例外処理をラップするメソッドです。
         *
         * @param zis
         *            {@link ZipInputStream}。{@literal null}であってはいけません
         * @return {@link ZipEntry}
         * @see ZipInputStream#getNextEntry()
         */
        public static ZipEntry getNextEntry(final ZipInputStream zis) {
            assertArgumentNotNull("zis", zis);
    
            try {
                return zis.getNextEntry();
            } catch (final IOException e) {
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InPlaceClasspathBuilderTest.groovy

            }
    
            then:
            def zip = new ZipTestFixture(file)
            zip.hasCompression("store.txt", ZipEntry.STORED)
            zip.hasCompression("undefined.txt", ZipEntry.DEFLATED)
            zip.hasCompression("dir/deflated.txt", ZipEntry.DEFLATED)
        }
    
        def "can construct a directory"() {
            def dir = tmpDir.file("things")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 14:05:09 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-unzip/groovy/build.gradle

    import java.nio.file.Files
    import java.util.zip.ZipEntry
    import java.util.zip.ZipException
    import java.util.zip.ZipFile
    
    import org.gradle.api.artifacts.transform.TransformParameters
    
    // tag::artifact-transform-unzip[]
    abstract class Unzip implements TransformAction<TransformParameters.None> { // <1>
        @InputArtifact                                                          // <2>
        abstract Provider<FileSystemLocation> getInputArtifact()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/cache/internal/WrapperDistributionCleanupAction.java

        @Nullable
        private GradleVersion readGradleVersionFromBuildReceipt(ZipFile zipFile) throws Exception {
            ZipEntry zipEntry = zipFile.getEntry(BUILD_RECEIPT_ZIP_ENTRY_PATH);
            if (zipEntry == null) {
                return null;
            }
            InputStream in = zipFile.getInputStream(zipEntry);
            try {
                Properties properties = new Properties();
                properties.load(in);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/zip.kt

    import org.gradle.util.internal.TextUtil.normaliseFileSeparators
    
    import java.io.File
    import java.io.InputStream
    import java.io.OutputStream
    
    import java.util.zip.ZipEntry
    import java.util.zip.ZipFile
    import java.util.zip.ZipOutputStream
    
    
    fun zipTo(zipFile: File, baseDir: File) {
        zipTo(zipFile, baseDir, baseDir.walkReproducibly())
    }
    
    
    internal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Aug 31 20:39:17 UTC 2023
    - 3.5K bytes
    - Viewed (1)
  8. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/RuntimeClasspathResourceHasher.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.changedetection.state;
    
    import org.gradle.api.internal.file.archive.ZipEntry;
    import org.gradle.internal.fingerprint.hashing.RegularFileSnapshotContext;
    import org.gradle.internal.fingerprint.hashing.ResourceHasher;
    import org.gradle.internal.fingerprint.hashing.ZipEntryContext;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/CachingResourceHasher.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.api.internal.changedetection.state;
    
    import org.gradle.api.internal.file.archive.ZipEntry;
    import org.gradle.internal.fingerprint.hashing.RegularFileSnapshotContext;
    import org.gradle.internal.fingerprint.hashing.ResourceHasher;
    import org.gradle.internal.fingerprint.hashing.ZipEntryContext;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-unzip/kotlin/build.gradle.kts

    import java.io.File
    import java.nio.file.Files
    import java.util.zip.ZipEntry
    import java.util.zip.ZipException
    import java.util.zip.ZipFile
    
    import org.gradle.api.artifacts.transform.TransformParameters
    
    // tag::artifact-transform-unzip[]
    abstract class Unzip : TransformAction<TransformParameters.None> {          // <1>
        @get:InputArtifact                                                      // <2>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top