⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 translatortoolimpl.html

📁 是一个加快Java应用程序国际化和本地化开发的工具集。它将大大减少国际化和本地化开发的所消耗的时间和资源。
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<A NAME="setDictionary(com.sun.tdc.toolkit.api.Dictionary)"><!-- --></A><H3>setDictionary</H3><PRE>public void <B>setDictionary</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html">Dictionary</A>&nbsp;dict)</PRE><DL><DD>Sets the dictionary used.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/TranslatorInterface.html#setDictionary(com.sun.tdc.toolkit.api.Dictionary)">setDictionary</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/TranslatorInterface.html">TranslatorInterface</A></DL></DD></DL><HR><A NAME="setSysDictionary(com.sun.tdc.toolkit.api.Dictionary)"><!-- --></A><H3>setSysDictionary</H3><PRE>public boolean <B>setSysDictionary</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html">Dictionary</A>&nbsp;sysDict)</PRE><DL><DD>Sets the system dictionary used.<DD><DL></DL></DD></DL><HR><A NAME="setUserDictionary(com.sun.tdc.toolkit.api.Dictionary)"><!-- --></A><H3>setUserDictionary</H3><PRE>public boolean <B>setUserDictionary</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html">Dictionary</A>&nbsp;userDict)</PRE><DL><DD>Sets the user dictionary used.<DD><DL></DL></DD></DL><HR><A NAME="setResourceDictionary(com.sun.tdc.toolkit.api.Dictionary)"><!-- --></A><H3>setResourceDictionary</H3><PRE>public boolean <B>setResourceDictionary</B>(<A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html">Dictionary</A>&nbsp;resDict)</PRE><DL><DD>Sets the resource dictionary used.<DD><DL></DL></DD></DL><HR><A NAME="getDictionary()"><!-- --></A><H3>getDictionary</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html">Dictionary</A> <B>getDictionary</B>()</PRE><DL><DD>Gets the dictionary used.<DD><DL></DL></DD></DL><HR><A NAME="doSubmit(com.sun.tdc.toolkit.resource.ResDocUnit, java.lang.String)"><!-- --></A><H3>doSubmit</H3><PRE>public boolean <B>doSubmit</B>(com.sun.tdc.toolkit.resource.ResDocUnit&nbsp;unit,                        java.lang.String&nbsp;value)</PRE><DL><DD>Submits change to the unit with the new value.<DD><DL></DL></DD></DL><HR><A NAME="setTransMode(int)"><!-- --></A><H3>setTransMode</H3><PRE>void <B>setTransMode</B>(int&nbsp;transMode)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="addTranslationListener(com.sun.tdc.toolkit.translator.TranslationListener)"><!-- --></A><H3>addTranslationListener</H3><PRE>public void <B>addTranslationListener</B>(com.sun.tdc.toolkit.translator.TranslationListener&nbsp;listener)</PRE><DL><DD>The listener will be notified each translated item during processing.<DD><DL></DL></DD></DL><HR><A NAME="translateAll()"><!-- --></A><H3>translateAll</H3><PRE>public void <B>translateAll</B>()</PRE><DL><DD>Automatically Translates all values in the resource file.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/TranslatorInterface.html#translateAll()">translateAll</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/TranslatorInterface.html">TranslatorInterface</A></DL></DD></DL><HR><A NAME="revertAll()"><!-- --></A><H3>revertAll</H3><PRE>public void <B>revertAll</B>()</PRE><DL><DD>Automatically reverts translation of all vlaues in the resource file.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/TranslatorInterface.html#revertAll()">revertAll</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/TranslatorInterface.html">TranslatorInterface</A></DL></DD></DL><HR><A NAME="save(java.io.OutputStream)"><!-- --></A><H3>save</H3><PRE>public void <B>save</B>(java.io.OutputStream&nbsp;os)</PRE><DL><DD>Saves the result to the output stream.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/TranslatorInterface.html#save(java.io.OutputStream)">save</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/TranslatorInterface.html">TranslatorInterface</A></DL></DD></DL><HR><A NAME="process()"><!-- --></A><H3>process</H3><PRE>public boolean <B>process</B>()</PRE><DL><DD>Starts the translation.<DD><DL><DT><B>Returns:</B><DD>true if successful.</DL></DD></DL><HR><A NAME="setSourceFile(java.lang.String)"><!-- --></A><H3>setSourceFile</H3><PRE>public void <B>setSourceFile</B>(java.lang.String&nbsp;sourceFile)</PRE><DL><DD>Sets the resource file to be translated.<DD><DL><DT><B>Parameters:</B><DD><CODE>sourceFile</CODE> - the source file's name.</DL></DD></DL><HR><A NAME="setTargetFile(java.lang.String)"><!-- --></A><H3>setTargetFile</H3><PRE>public void <B>setTargetFile</B>(java.lang.String&nbsp;targetFile)</PRE><DL><DD>Sets the target file to save the translation result.<DD><DL><DT><B>Parameters:</B><DD><CODE>targetFile</CODE> - the target file's name.</DL></DD></DL><HR><A NAME="setOptions(com.sun.tdc.toolkit.util.IniFile)"><!-- --></A><H3>setOptions</H3><PRE>public void <B>setOptions</B>(com.sun.tdc.toolkit.util.IniFile&nbsp;options)</PRE><DL><DD>Sets the options for translating.<DD><DL></DL></DD></DL><HR><A NAME="getOptions()"><!-- --></A><H3>getOptions</H3><PRE>public com.sun.tdc.toolkit.util.IniFile <B>getOptions</B>()</PRE><DL><DD>Gets the options for translating.<DD><DL></DL></DD></DL><HR><A NAME="saveOption(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>saveOption</H3><PRE>public boolean <B>saveOption</B>(java.lang.String&nbsp;subject,                          java.lang.String&nbsp;variable,                          java.lang.String&nbsp;value)</PRE><DL><DD>Saves and updates one option.<DD><DL><DT><B>Parameters:</B><DD><CODE>subject</CODE> - the subject in the option file (IniFile).<DD><CODE>variable</CODE> - the variable to update.<DD><CODE>value</CODE> - the new value used to update.</DL></DD></DL><HR><A NAME="sweep(java.lang.String)"><!-- --></A><H3>sweep</H3><PRE>java.lang.String <B>sweep</B>(java.lang.String&nbsp;s)</PRE><DL><DD><DL></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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../../overview-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../com/sun/tdc/toolkit/ToolPool.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/sun/tdc/toolkit/TreeMouseClickListener.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>  &nbsp;&nbsp;<A HREF="TranslatorToolImpl.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -