📄 messagetoolimpl.html
字号:
<TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#convertAll(java.lang.String)">convertAll</A></B>(java.lang.String bundleVarName)</CODE><BR> Automatically internationalize the whole file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#freeze(com.sun.tdc.toolkit.api.internal.Unit)">freeze</A></B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> unit)</CODE><BR> Freeze the message unit.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html">ClassUnit</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#getAllClassUnits()">getAllClassUnits</A></B>()</CODE><BR> Get all class units in the java source file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#getBunldeNames()">getBunldeNames</A></B>()</CODE><BR> Get all bundle names.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html">ClassUnit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#getMessageToolClassUnit(int)">getMessageToolClassUnit</A></B>(int offset)</CODE><BR> Get a MessageTool class unit by the offset from the beginning of the file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> com.sun.tdc.toolkit.resource.MessageToolResource</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#getMessageToolResource(java.lang.String)">getMessageToolResource</A></B>(java.lang.String bundleName)</CODE><BR> Get a message tool resouce bundle by the specified bundle name</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> com.sun.tdc.toolkit.resource.MessageToolResource</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#getMessageToolResource(com.sun.tdc.toolkit.verifier.VerifyItem)">getMessageToolResource</A></B>(com.sun.tdc.toolkit.verifier.VerifyItem item)</CODE><BR> Get a message tool resouce bundle by the specified item.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#getMessageUnits()">getMessageUnits</A></B>()</CODE><BR> get all concerned message units</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html">ToolkitData</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#getResourceDocument(java.lang.String, boolean)">getResourceDocument</A></B>(java.lang.String bundleName, boolean inUnicode)</CODE><BR> Get resource document</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#initProps()">initProps</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#isInSameResource(com.sun.tdc.toolkit.api.internal.Unit[])">isInSameResource</A></B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>[] units)</CODE><BR> Decide whether the specified units is in same resource bundle.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#isMessageUnit(com.sun.tdc.toolkit.api.internal.Unit)">isMessageUnit</A></B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> unit)</CODE><BR> Decide whether the specified unit is message unit.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#process(java.io.InputStream, boolean)">process</A></B>(java.io.InputStream is, boolean needRefresh)</CODE><BR> override the method process() in super class.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#regenerateMessageToolResource()">regenerateMessageToolResource</A></B>()</CODE><BR> Regenerate message tool resource units.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#removeMessageToolResource(java.lang.String, java.lang.String)">removeMessageToolResource</A></B>(java.lang.String className, java.lang.String bundleVarName)</CODE><BR> remove a resource bundle definition statement in a class.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#revert(com.sun.tdc.toolkit.api.internal.Unit)">revert</A></B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> unit)</CODE><BR> Revert the internationalized unit.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#revert(com.sun.tdc.toolkit.api.internal.Unit, boolean)">revert</A></B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> unit, boolean needRemoveBundle)</CODE><BR> Revert the internationalized unit.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#revertAll()">revertAll</A></B>()</CODE><BR> Automatically revert all internation of the whole file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#revertAll(boolean)">revertAll</A></B>(boolean needRemoveBundles)</CODE><BR> Automatically revert all internation of the whole file.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#saveAsResource(java.lang.String, java.lang.String, java.lang.String)">saveAsResource</A></B>(java.lang.String bundleName, java.lang.String localeName, java.lang.String outputDir)</CODE><BR> Save the resource bundle by specified bundle name as the specified locale name and output directory.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#saveAsResource(java.lang.String, java.lang.String, java.lang.String, boolean)">saveAsResource</A></B>(java.lang.String bundleName, java.lang.String localeName, java.lang.String outputDir, boolean bMerge)</CODE><BR> Save the resource bundle by specified bundle name as the specified locale name and output directory.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#saveResource(java.lang.String)">saveResource</A></B>(java.lang.String bundleName)</CODE><BR> Save resource bundle by specified bundle name</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#saveResources()">saveResources</A></B>()</CODE><BR> Save resource bundles used in this java source file</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#setConvertedUnit(com.sun.tdc.toolkit.api.internal.Unit, java.lang.String, int, java.lang.String, java.lang.String, java.lang.String)">setConvertedUnit</A></B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> unit, java.lang.String bundleVarName, int methodType, java.lang.String key, java.lang.String defaultValue, java.lang.String localeVarString)</CODE><BR> reset the internationalized unit.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#setDefaultBundleName(java.lang.String)">setDefaultBundleName</A></B>(java.lang.String bundleName)</CODE><BR> Set the default bundle name.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#setDefaultBundleType(int)">setDefaultBundleType</A></B>(int bundleType)</CODE><BR> Set the default type of resource bundle.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#setDefaultBundleVarName(java.lang.String)">setDefaultBundleVarName</A></B>(java.lang.String bundleVarName)</CODE><BR> Set the default bundle variable name.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#setDefaultLocaleVarName(java.lang.String)">setDefaultLocaleVarName</A></B>(java.lang.String localeVarString)</CODE><BR> Set the default locale variable name.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/sun/tdc/toolkit/messagetool/MessageToolImpl.html#setDefaultMethodType(int)">setDefaultMethodType</A></B>(int methodType)</CODE><BR> Set the default type of extracting messages method.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -