APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.jimage.decompressor

public abstract Class ResourceDecompressorFactory

extends Object
Class Inheritance
Known Direct Subclasses
jdk.internal.jimage.decompressor.StringSharingDecompressorFactory, jdk.internal.jimage.decompressor.ZipDecompressorFactory
Imports
java.io.IOException

JLink Resource Decompressor factory

Implementation Note

This class needs to maintain JDK 8 source compatibility. It is used internally in the JDK to implement jimage/jrtfs access, but also compiled and delivered as part of the jrtfs.jar to support access to the jimage file provided by the shipped JDK by tools running on JDK 8.

Field Summary

Modifier and TypeField and Description
private final String

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name.
getName
()

The Factory name.

public abstract ResourceDecompressor

Returns:

A new decompressor.
newDecompressor
()

To build a new decompressor.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name

Constructor Detail

ResourceDecompressorFactoryback to summary
protected ResourceDecompressorFactory(String name)

Method Detail

getNameback to summary
public String getName()

The Factory name.

Returns:String

The name.

newDecompressorback to summary
public abstract ResourceDecompressor newDecompressor() throws IOException

To build a new decompressor.

Returns:ResourceDecompressor

A new decompressor.