Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.tools.zip
Interface CentralDirectoryParsingZipExtraField

All Superinterfaces:
  ZipExtraField

All Known Implementing Classes:
  UnrecognizedExtraField

    public interface CentralDirectoryParsingZipExtraField

extends ZipExtraField

`ZipExtraField` that knows how to parse central directory data.

Since:
  Ant 1.8.0

Method Summary
`void` | `parseFromCentralDirectoryData(byte[] data, int offset, int length)` Populate data from this array as if it was in central directory data.

Methods inherited from interface org.apache.tools.zip.ZipExtraField
`getCentralDirectoryData, getCentralDirectoryLength, getHeaderId, getLocalFileDataData, getLocalFileDataLength, parseFromLocalFileData`

Method Detail

### parseFromCentralDirectoryData

    void parseFromCentralDirectoryData(byte[] data,
                                       int offset,
                                       int length)
                                       throws java.util.zip.ZipException

  Populate data from this array as if it was in central directory data.

  Parameters:
    `data` - an array of bytes
    `offset` - the start offset
    `length` - the number of bytes in the array from offset
  Throws:
    `java.util.zip.ZipException` - on error

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD