Top Description Inners Fields Constructors Methods
org.apache.tools.zip

public Class UnsupportedZipFeatureException

extends ZipException
Class Inheritance
Imports
java.io.Serializable, 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
Ant 1.9.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
UnsupportedZipFeatureException.Feature

ZIP Features that may or may not be supported.

Field Summary

Modifier and TypeField and Description
private final transient ZipEntry
private final UnsupportedZipFeatureException.Feature
private static final long

Constructor Summary

AccessConstructor and Description
public
UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature
the feature that is not supported
reason
,
ZipEntry
the entry using the feature
entry
)

Creates an exception.

Method Summary

Modifier and TypeMethod and Description
public ZipEntry

Returns:

ZipEntry
getEntry
()

The entry using the unsupported feature.

public UnsupportedZipFeatureException.Feature

Returns:

Feature
getFeature
()

The unsupported feature that has been used.

Field Detail

entryback to summary
private final transient ZipEntry entry
reasonback to summary
private final UnsupportedZipFeatureException.Feature reason
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.zip.ZipException.serialVersionUID.

Constructor Detail

UnsupportedZipFeatureExceptionback to summary
public UnsupportedZipFeatureException(UnsupportedZipFeatureException.Feature reason, ZipEntry entry)

Creates an exception.

Parameters
reason:UnsupportedZipFeatureException.Feature

the feature that is not supported

entry:ZipEntry

the entry using the feature

Method Detail

getEntryback to summary
public ZipEntry getEntry()

The entry using the unsupported feature.

Returns:ZipEntry

ZipEntry

getFeatureback to summary
public UnsupportedZipFeatureException.Feature getFeature()

The unsupported feature that has been used.

Returns:UnsupportedZipFeatureException.Feature

Feature

org.apache.tools.zip back to summary

public Class UnsupportedZipFeatureException.Feature

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Annotations
@SuppressWarnings:serial

ZIP Features that may or may not be supported.

Field Summary

Modifier and TypeField and Description
public static final UnsupportedZipFeatureException.Feature
DATA_DESCRIPTOR

The entry uses a data descriptor.

public static final UnsupportedZipFeatureException.Feature
ENCRYPTION

The entry is encrypted.

public static final UnsupportedZipFeatureException.Feature
METHOD

The entry used an unsupported compression method.

private final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

DATA_DESCRIPTORback to summary
public static final UnsupportedZipFeatureException.Feature DATA_DESCRIPTOR

The entry uses a data descriptor.

ENCRYPTIONback to summary
public static final UnsupportedZipFeatureException.Feature ENCRYPTION

The entry is encrypted.

METHODback to summary
public static final UnsupportedZipFeatureException.Feature METHOD

The entry used an unsupported compression method.

nameback to summary
private final String name

Constructor Detail

Featureback to summary
private Feature(String name)

Method Detail

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override