You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
640 B
Java
20 lines
640 B
Java
package org.xbib.gradle.plugin.shadow.zip;
|
|
|
|
import java.util.zip.ZipException;
|
|
|
|
/**
|
|
* {@link ZipExtraField ZipExtraField} that knows how to parse central
|
|
* directory data.
|
|
*/
|
|
public interface CentralDirectoryParsingZipExtraField extends ZipExtraField {
|
|
/**
|
|
* Populate data from this array as if it was in central directory data.
|
|
* @param data an array of bytes
|
|
* @param offset the start offset
|
|
* @param length the number of bytes in the array from offset
|
|
*
|
|
* @throws ZipException on error
|
|
*/
|
|
void parseFromCentralDirectoryData(byte[] data, int offset, int length)
|
|
throws ZipException;
|
|
} |