📄 messagetoolinterface.html
字号:
</DL><HR><A NAME="revert(com.sun.tdc.toolkit.api.internal.Unit, boolean)"><!-- --></A><H3>revert</H3><PRE>public java.lang.String <B>revert</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> unit, boolean needRemoveBundle)</PRE><DL><DD>Revert the internationalized unit.<DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the unit to be reverted<DD><CODE>needRemoveBundle</CODE> - if the bundle needs to be removed when there is no unit using it.<DT><B>Returns:</B><DD>the unit which was reconverted into.</DL></DD></DL><HR><A NAME="freeze(com.sun.tdc.toolkit.api.internal.Unit)"><!-- --></A><H3>freeze</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> <B>freeze</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> unit)</PRE><DL><DD>Freeze the message unit.<DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the unit to be frozen<DT><B>Returns:</B><DD>the unit which was frozen into.</DL></DD></DL><HR><A NAME="unfreeze(com.sun.tdc.toolkit.api.internal.Unit)"><!-- --></A><H3>unfreeze</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> <B>unfreeze</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> unit)</PRE><DL><DD>Refreeze the message unit.<DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - the unit to be unfrozen<DT><B>Returns:</B><DD>the unit which was unfrozen into.</DL></DD></DL><HR><A NAME="unify(com.sun.tdc.toolkit.api.internal.Unit[], java.lang.String, java.lang.String)"><!-- --></A><H3>unify</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>[] <B>unify</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>[] units, java.lang.String key, java.lang.String bundleVarName) throws java.io.IOException</PRE><DL><DD>Unify the message units.<DD><DL><DT><B>Parameters:</B><DD><CODE>units</CODE> - the units to be unified<DD><CODE>key</CODE> - the unified key<DT><B>Returns:</B><DD>the units which was unified into.</DL></DD></DL><HR><A NAME="ununify(com.sun.tdc.toolkit.api.internal.Unit[])"><!-- --></A><H3>ununify</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>[] <B>ununify</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>[] units)</PRE><DL><DD>Ununify the message units.<DD><DL><DT><B>Parameters:</B><DD><CODE>units</CODE> - the units to be ununified<DT><B>Returns:</B><DD>the units which was unified into.</DL></DD></DL><HR><A NAME="convertAll()"><!-- --></A><H3>convertAll</H3><PRE>public java.lang.String[] <B>convertAll</B>()</PRE><DL><DD>Automatically internationlize the whole file.<DD><DL></DL></DD></DL><HR><A NAME="convertAll(java.lang.String)"><!-- --></A><H3>convertAll</H3><PRE>public java.lang.String[] <B>convertAll</B>(java.lang.String bundleVarName)</PRE><DL><DD>Automatically internationlize the whole file.<DD><DL></DL></DD></DL><HR><A NAME="revertAll()"><!-- --></A><H3>revertAll</H3><PRE>public java.lang.String[] <B>revertAll</B>()</PRE><DL><DD>Automatically revert all internation of the whole file.<DD><DL></DL></DD></DL><HR><A NAME="revertAll(boolean)"><!-- --></A><H3>revertAll</H3><PRE>public java.lang.String[] <B>revertAll</B>(boolean needRemoveBundles)</PRE><DL><DD>Automatically revert all internation of the whole file.<DD><DL><DT><B>Parameters:</B><DD><CODE>needRemoveBundles</CODE> - it is true if the resource bundle is needed to be removed when reverting all units.</DL></DD></DL><HR><A NAME="getAllClassUnits()"><!-- --></A><H3>getAllClassUnits</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html">ClassUnit</A>[] <B>getAllClassUnits</B>()</PRE><DL><DD>Get all class units in the java source file.<DD><DL></DL></DD></DL><HR><A NAME="getMessageUnits()"><!-- --></A><H3>getMessageUnits</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>[] <B>getMessageUnits</B>()</PRE><DL><DD>Get all message units in the java source file.<DD><DL></DL></DD></DL><HR><A NAME="isMessageUnit(com.sun.tdc.toolkit.api.internal.Unit)"><!-- --></A><H3>isMessageUnit</H3><PRE>public boolean <B>isMessageUnit</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> unit)</PRE><DL><DD>Decide whether the specified unit is message unit.<DD><DL><DT><B>Parameters:</B><DD><CODE>unit</CODE> - verify item</DL></DD></DL><HR><A NAME="getResourceDocument(java.lang.String, boolean)"><!-- --></A><H3>getResourceDocument</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html">ToolkitData</A> <B>getResourceDocument</B>(java.lang.String bundleName, boolean inUnicode)</PRE><DL><DD>Get resource document<DD><DL><DT><B>Parameters:</B><DD><CODE>bundleName</CODE> - the resource bundle name<DD><CODE>inUnicode</CODE> - whether viewing in unicode, if it is true, view in unicode("\\uxxxx")</DL></DD></DL><HR><A NAME="saveResources()"><!-- --></A><H3>saveResources</H3><PRE>public void <B>saveResources</B>()</PRE><DL><DD>Save resource bundles used in this java source file<DD><DL></DL></DD></DL><HR><A NAME="saveResource(java.lang.String)"><!-- --></A><H3>saveResource</H3><PRE>public void <B>saveResource</B>(java.lang.String bundleName)</PRE><DL><DD>Save the resource bundle by specified bundle name<DD><DL><DT><B>Parameters:</B><DD><CODE>bundleName</CODE> - the resource bundle name</DL></DD></DL><HR><A NAME="saveAsResource(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>saveAsResource</H3><PRE>public void <B>saveAsResource</B>(java.lang.String bundleName, java.lang.String localeName, java.lang.String outputDir)</PRE><DL><DD>Save the resource bundle by specified bundle name as the specified locale name and output directory.<DD><DL><DT><B>Parameters:</B><DD><CODE>bundleName</CODE> - the bundle name<DD><CODE>localeName</CODE> - the locale name<DD><CODE>outputDir</CODE> - the output directory</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> <FONT ID="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" ID="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html"><B>PREV CLASS</B></A> <A HREF="../../../../../com/sun/tdc/toolkit/api/ResourceToolInterface.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="MessageToolInterface.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -