public class UnsupportedZipFeatureException
extends java.util.zip.ZipException
Modifier and Type | Class and Description |
---|---|
static class |
UnsupportedZipFeatureException.Feature
ZIP Features that may or may not be supported.
|
Constructor and Description |
---|
UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason)
Creates an exception when the whole archive uses an unsupported
feature.
|
UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason,
ZipArchiveEntry entry)
Creates an exception.
|
UnsupportedZipFeatureException(ZipMethod method,
ZipArchiveEntry entry)
Creates an exception for archives that use an unsupported
compression algorithm.
|
Modifier and Type | Method and Description |
---|---|
ZipArchiveEntry |
getEntry()
The entry using the unsupported feature.
|
UnsupportedZipFeatureException.Feature |
getFeature()
The unsupported feature that has been used.
|
public UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason, ZipArchiveEntry entry)
reason
- the feature that is not supportedentry
- the entry using the featurepublic UnsupportedZipFeatureException(ZipMethod method, ZipArchiveEntry entry)
method
- the method that is not supportedentry
- the entry using the featurepublic UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason)
reason
- the feature that is not supportedpublic UnsupportedZipFeatureException.Feature getFeature()
public ZipArchiveEntry getEntry()
Copyright © 2010 - 2020 Adobe. All Rights Reserved