APIdia Launch Partner
Top Description Methods
jdk.tools.jlink.internal

public Interface ResourcePrevisitor

Known Direct Implementers
jdk.tools.jlink.internal.plugins.DefaultCompressPlugin, jdk.tools.jlink.internal.plugins.IncludeLocalesPlugin, jdk.tools.jlink.internal.plugins.StringSharingPlugin
Imports
jdk.tools.jlink.plugin.ResourcePool

Plugin wishing to pre-visit the resources must implement this interface. Pre-visit can be useful when some activities are required prior to the actual Resource visit. The StringTable plays a special role during previsit. The passed Strings are NOT added to the jimage file. The string usage is tracked in order to build an efficient string storage.

Method Summary

Modifier and TypeMethod and Description
public void
previsit(ResourcePool
Read only resources.
resources
,
StringTable
StringTable instance. Add string to the StringTable to track string usage.
strings
)

Previsit the collection of resources.

Method Detail

previsitback to summary
public void previsit(ResourcePool resources, StringTable strings)

Previsit the collection of resources.

Parameters
resources:ResourcePool

Read only resources.

strings:StringTable

StringTable instance. Add string to the StringTable to track string usage.