- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for getCompressionMethod (0.25 sec)
-
subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java
@Override public byte[] getContent() throws IOException { return entry.getContent(); } @Override public CompressionMethod getCompressionMethod() { switch (entry.getCompressionMethod()) { case STORED: return CompressionMethod.STORED; case DEFLATED: return CompressionMethod.DEFLATED;
Registered: 2024-06-12 18:38 - Last Modified: 2024-03-12 02:21 - 5.6K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/AbstractZipEntry.java
} else { return ByteStreams.toByteArray(inputStream); } } }); } @Override public ZipCompressionMethod getCompressionMethod() { switch (entry.getMethod()) { case java.util.zip.ZipEntry.STORED: return ZipCompressionMethod.STORED; case java.util.zip.ZipEntry.DEFLATED:
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-28 12:11 - 2.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java
} @Override public boolean canReopen() { return true; } @Override public ZipCompressionMethod getCompressionMethod() { return delegate.getCompressionMethod(); } }
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-28 15:09 - 6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/BaseClasspathElementTransform.java
reader.accept(chain.right, 0); byte[] bytes = classWriter.toByteArray(); builder.put(chain.left.getPathString(), bytes, classEntry.getCompressionMethod()); } /** * Processes a JAR Manifest. Base class implementation copies the manifest unchanged. * * @param builder the builder for the transformed output
Registered: 2024-06-12 18:38 - Last Modified: 2024-02-14 09:24 - 6.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathEntryVisitor.java
*/ UNDEFINED, } String getName(); RelativePath getPath(); CompressionMethod getCompressionMethod(); /** * Can be called at most once for a given entry. If not called, content is skipped. */ byte[] getContent() throws IOException; }
Registered: 2024-06-12 18:38 - Last Modified: 2022-06-30 22:03 - 1.6K bytes - Viewed (0) -
subprojects/core/src/testFixtures/java/org/gradle/internal/classpath/TestInstrumentedClassLoader.java
public RelativePath getPath() { return RelativePath.parse(true, path); } @Override public ClasspathEntryVisitor.Entry.CompressionMethod getCompressionMethod() { return ClasspathEntryVisitor.Entry.CompressionMethod.STORED; } @Override public byte[] getContent() { return bytes; }
Registered: 2024-06-12 18:38 - Last Modified: 2024-02-07 20:14 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/ZipEntry.java
int size(); /** * Whether or not the zip entry can safely be read again if any bytes * have already been read from it. */ boolean canReopen(); ZipCompressionMethod getCompressionMethod(); // Copied from org.gradle.internal.io.IoFunction in :functional due to // JDK version mismatch between the projects interface IoFunction<T, R> { @Nullable
Registered: 2024-06-12 18:38 - Last Modified: 2024-05-28 12:11 - 2.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/ClasspathElementTransformForAgent.java
setManifestMainAttribute(processedManifest, JarUtil.MULTI_RELEASE_ATTRIBUTE, "true"); builder.put(manifestEntry.getName(), toByteArray(processedManifest), manifestEntry.getCompressionMethod()); } catch (IOException e) { LOGGER.debug("Failed to parse Manifest from JAR " + source); throw e; } } @Override
Registered: 2024-06-12 18:38 - Last Modified: 2024-02-07 20:14 - 6.3K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy
} @Override boolean canReopen() { return !unsafe } @Override ZipEntry.ZipCompressionMethod getCompressionMethod() { return ZipEntry.ZipCompressionMethod.DEFLATED } } return new DefaultZipEntryContext(zipEntry, file.path, "foo.zip") }
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-28 15:09 - 7.9K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasherTest.groovy
} @Override boolean canReopen() { return !unsafe } @Override ZipEntry.ZipCompressionMethod getCompressionMethod() { return ZipEntry.ZipCompressionMethod.DEFLATED } } return new DefaultZipEntryContext(zipEntry, path, "foo.zip") }
Registered: 2024-06-12 18:38 - Last Modified: 2023-09-28 15:09 - 16.9K bytes - Viewed (0)