Documentation of 'org.apache.commons.compress.archivers.zip.UnsupportedZipFeatureException' Java class
UnsupportedZipFeatureException
org.apache.commons.compress.archivers.zip

Class UnsupportedZipFeatureException

  • All Implemented Interfaces:
    java.io.Serializable


    public class UnsupportedZipFeatureException
    extends java.util.zip.ZipException
    Exception thrown when attempting to read or write data for a zip entry that uses ZIP features not supported by this library.
    Since:
    1.1
    See Also:
    Serialized Form
    • Constructor Detail

      • UnsupportedZipFeatureException

        public UnsupportedZipFeatureException(ZipMethod method,
                                              ZipArchiveEntry entry)
        Creates an exception for archives that use an unsupported compression algorithm.
        Parameters:
        method - the method that is not supported
        entry - the entry using the feature
        Since:
        1.5
      • UnsupportedZipFeatureException

        public UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason)
        Creates an exception when the whole archive uses an unsupported feature.
        Parameters:
        reason - the feature that is not supported
        Since:
        1.5
    • Method Detail

      • getEntry

        public ZipArchiveEntry getEntry()
        The entry using the unsupported feature.
        Returns:
        The entry using the unsupported feature.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.