mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-15 02:59:33 +07:00
39 lines
2.0 KiB
HTML
39 lines
2.0 KiB
HTML
<html>
|
|
<body>
|
|
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
|
|
<tr>
|
|
<td ><font face="verdana" size="-1">
|
|
Replaces a string literal expression (e.g. </font><code>String s = "Hello";</code><font face="verdana" size="-1">)
|
|
with an internationalized Java code expression
|
|
(e.g. </font><code>String s = myResourceBundle.getString("hello");</code><font face="verdana" size="-1">).<br>
|
|
This built-in template is editable. Along with Java expressions and comments, you can also use the predefined variables that
|
|
will be then expanded into the corresponding values.</font>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
|
|
<tr>
|
|
<td colspan="3"><font face="verdana" size="-1">Predefined variables take the following values:</font></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><nobr><font face="verdana" size="-2"><b>${RESOURCE_BUNDLE}</b></font></nobr></td>
|
|
<td width="10"> </td>
|
|
<td width="100%" valign="top"><font face="verdana" size="-1">Expression of the <b>java.util.ResourceBundle</b> type, instance of which is available in this context.</font></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><nobr><font face="verdana" size="-2"><b>${PROPERTY_KEY}</b></font></nobr></td>
|
|
<td width="10"> </td>
|
|
<td width="100%" valign="top"><font face="verdana" size="-1">Property key name which is specified in the corresponding properties file.
|
|
Typically it is the value that is used for <b>ResourceBundle.getString()</b> method parameter.
|
|
</font></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><nobr><font face="verdana" size="-2"><b>${PROPERTY_VALUE}</b></font></nobr></td>
|
|
<td width="10"> </td>
|
|
<td width="100%" valign="top"><font face="verdana" size="-1">Property value which is defined in the corresponding properties file.
|
|
This is the original Java string literal value.
|
|
</font></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html> |