org.appng.core.service

## Class ApplicationArchiveProcessor

- java.lang.Object
- - org.appng.core.service.ApplicationArchiveProcessor

- All Implemented Interfaces:
    ZipFileProcessor<List<Resource>>

      public class ApplicationArchiveProcessor
      extends Object
      implements ZipFileProcessor<List<Resource>>

  A `ZipFileProcessor` to be processed by a `PackageArchive`.
  Author:
    Matthias Müller
  See Also:
    `PackageArchive.processZipFile(ZipFileProcessor)`

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ApplicationArchiveProcessor(Application application)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<Resource>` | `process(org.apache.commons.compress.archivers.zip.ZipFile zipFile)` Processes the `ZipFile`.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ApplicationArchiveProcessor

          public ApplicationArchiveProcessor(Application application)

  - ### Method Detail

    - #### process

          public List<Resource> process(org.apache.commons.compress.archivers.zip.ZipFile zipFile)
                                 throws IOException

      Processes the `ZipFile`.
      Specified by:
        `process` in interface `ZipFileProcessor<List<Resource>>`
      Parameters:
        `zipFile` - a `ZipFile` representing a `PackageArchive`.
      Returns:
        a list of `Resource`s contained in the `PackageArchive`
      Throws:
        `IOException` - if an error occurred while processing

Copyright © 2011–2023 aiticon GmbH. All rights reserved.