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

public Interface StringTable

Known Direct Implementers
jdk.tools.jlink.internal.ImagePluginStack.PreVisitStrings

Added strings are stored in the jimage strings table.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

a String identifier.
addString
(String
The string to add.
str
)

Add a string to the jimage strings table.

public String

Returns:

The string referenced by the passed id.
getString
(int
The string id.
id
)

Retrieve a string from the passed id.

Method Detail

addStringback to summary
public int addString(String str)

Add a string to the jimage strings table.

Parameters
str:String

The string to add.

Returns:int

a String identifier.

getStringback to summary
public String getString(int id)

Retrieve a string from the passed id.

Parameters
id:int

The string id.

Returns:String

The string referenced by the passed id.