APIdia Launch Partner
Top Fields Constructors Methods
jdk.tools.jlink.internal.runtimelink

public Class ResourcePoolReader

extends Object
implements ImageResource
Class Inheritance
All Implemented Interfaces
jdk.tools.jlink.internal.runtimelink.JimageDiffGenerator.ImageResource, java.lang.AutoCloseable
Annotations
@SuppressWarnings:try
Imports
java.io.InputStream, java.util.List, .Objects, jdk.tools.jlink.internal.runtimelink.JimageDiffGenerator.ImageResource, jdk.tools.jlink.plugin.ResourcePool, .ResourcePoolEntry

Field Summary

Modifier and TypeField and Description
private final ResourcePool

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources.

public List<String>
public InputStream
public byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

poolback to summary
private final ResourcePool pool

Constructor Detail

ResourcePoolReaderback to summary
public ResourcePoolReader(ResourcePool pool)

Method Detail

closeback to summary
public void close() throws Exception

Implements java.lang.AutoCloseable.close.

Doc from java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

Annotations
@Override
Exceptions
Exception:
if this resource cannot be closed
getEntriesback to summary
public List<String> getEntries()

Implements jdk.tools.jlink.internal.runtimelink.JimageDiffGenerator.ImageResource.getEntries.

Annotations
@Override
getResourceback to summary
public InputStream getResource(String name)

Implements jdk.tools.jlink.internal.runtimelink.JimageDiffGenerator.ImageResource.getResource.

Annotations
@Override
getResourceBytesback to summary
public byte[] getResourceBytes(String name)

Implements jdk.tools.jlink.internal.runtimelink.JimageDiffGenerator.ImageResource.getResourceBytes.

Annotations
@Override