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

📄 bbtfdictionary.html

📁 是一个加快Java应用程序国际化和本地化开发的工具集。它将大大减少国际化和本地化开发的所消耗的时间和资源。
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<DD>Refreshes the cache making it synchronized with the physical storage.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html#refreshCache()">refreshCache</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html">DictionaryCachable</A></DL></DD></DL><HR><A NAME="refreshCache(java.lang.String)"><!-- --></A><H3>refreshCache</H3><PRE>public void <B>refreshCache</B>(java.lang.String&nbsp;key)</PRE><DL><DD>Refreshes the key-value in the cache making it synchronized with the physical storage.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html#refreshCache(java.lang.String)">refreshCache</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html">DictionaryCachable</A><DT><B>Parameters:</B><DD><CODE>key</CODE> - to be refreshed.</DL></DD></DL><HR><A NAME="refreshCache(java.lang.String, java.util.Vector)"><!-- --></A><H3>refreshCache</H3><PRE>protected void <B>refreshCache</B>(java.lang.String&nbsp;key,                            java.util.Vector&nbsp;meanings)</PRE><DL><DD>Refreshes the key in the cache making it synchronized with the physical storage.<DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - to be refreshed.<DD><CODE>meanings</CODE> - vector contains only strings.</DL></DD></DL><HR><A NAME="refreshCache(java.lang.String, java.lang.String)"><!-- --></A><H3>refreshCache</H3><PRE>protected void <B>refreshCache</B>(java.lang.String&nbsp;key,                            java.lang.String&nbsp;meaning)</PRE><DL><DD>Refreshes the key in the cache making it synchronized with the physical storage.<DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - to be refreshed.<DD><CODE>meaning</CODE> - one meaning, append to the key's meanings.</DL></DD></DL><HR><A NAME="setCached(boolean)"><!-- --></A><H3>setCached</H3><PRE>public void <B>setCached</B>(boolean&nbsp;cached)</PRE><DL><DD>Enable or disable the cache.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html#setCached(boolean)">setCached</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html">DictionaryCachable</A><DT><B>Parameters:</B><DD><CODE>true</CODE> - to enable the cache.</DL></DD></DL><HR><A NAME="setCacheSize(int)"><!-- --></A><H3>setCacheSize</H3><PRE>public void <B>setCacheSize</B>(int&nbsp;size)</PRE><DL><DD>Sets the cache size.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html#setCacheSize(int)">setCacheSize</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html">DictionaryCachable</A><DT><B>Parameters:</B><DD><CODE>size</CODE> - 0 if size is not limited.</DL></DD></DL><HR><A NAME="getCacheSize()"><!-- --></A><H3>getCacheSize</H3><PRE>public int <B>getCacheSize</B>()</PRE><DL><DD>Gets the cache size.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html#getCacheSize()">getCacheSize</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html">DictionaryCachable</A><DT><B>Returns:</B><DD>size in number of cached items.</DL></DD></DL><HR><A NAME="isCached()"><!-- --></A><H3>isCached</H3><PRE>public boolean <B>isCached</B>()</PRE><DL><DD>Uses cache or not.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html#isCached()">isCached</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/DictionaryCachable.html">DictionaryCachable</A><DT><B>Returns:</B><DD>true if cache is used.</DL></DD></DL><HR><A NAME="isUpdatable()"><!-- --></A><H3>isUpdatable</H3><PRE>public boolean <B>isUpdatable</B>()</PRE><DL><DD>The dictionary allows on-line updating or not.<DD><DL><DT><B>Returns:</B><DD>true if allows updating.</DL></DD></DL><HR><A NAME="setUpdatable(boolean)"><!-- --></A><H3>setUpdatable</H3><PRE>public void <B>setUpdatable</B>(boolean&nbsp;updatable)</PRE><DL><DD>The dictionary allows on-line updating or not.<DD><DL><DT><B>Parameters:</B><DD><CODE>updatable</CODE> - true if allows updating.</DL></DD></DL><HR><A NAME="getCache()"><!-- --></A><H3>getCache</H3><PRE>public java.util.Hashtable <B>getCache</B>()</PRE><DL><DD>Gets the cache.<DD><DL><DT><B>Returns:</B><DD>the cache.</DL></DD></DL><HR><A NAME="setCache(java.util.Hashtable)"><!-- --></A><H3>setCache</H3><PRE>public void <B>setCache</B>(java.util.Hashtable&nbsp;cache)</PRE><DL><DD>Sets the cache.<DD><DL><DT><B>Parameters:</B><DD><CODE>cache</CODE> - the hashtable used as the cache.</DL></DD></DL><HR><A NAME="setCaseSensitive(boolean)"><!-- --></A><H3>setCaseSensitive</H3><PRE>public void <B>setCaseSensitive</B>(boolean&nbsp;caseSense)</PRE><DL><DD>Sets case sensitive lookup or not.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html#setCaseSensitive(boolean)">setCaseSensitive</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html">Dictionary</A></DL></DD></DL><HR><A NAME="isCaseSensitive()"><!-- --></A><H3>isCaseSensitive</H3><PRE>public boolean <B>isCaseSensitive</B>()</PRE><DL><DD>Case sensitive lookup or not.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html#isCaseSensitive()">isCaseSensitive</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html">Dictionary</A><DT><B>Returns:</B><DD>true, case sensitive.</DL></DD></DL><HR><A NAME="setDelimiter(char)"><!-- --></A><H3>setDelimiter</H3><PRE>public void <B>setDelimiter</B>(char&nbsp;delimiter)</PRE><DL><DD>Sets the delimiter used to separate each meaning.<DD><DL></DL></DD></DL><HR><A NAME="getDelimiter()"><!-- --></A><H3>getDelimiter</H3><PRE>public char <B>getDelimiter</B>()</PRE><DL><DD>Gets the delimiter used to separate each meaning.<DD><DL></DL></DD></DL><HR><A NAME="pack()"><!-- --></A><H3>pack</H3><PRE>public void <B>pack</B>()</PRE><DL><DD>Packs the dictionary - to shrink. May take long time.<DD><DL></DL></DD></DL><HR><A NAME="getFile()"><!-- --></A><H3>getFile</H3><PRE>public java.io.File <B>getFile</B>()</PRE><DL><DD>Gets the dictionary file.<DD><DL><DT><B>Returns:</B><DD>the dictionary file.</DL></DD></DL><HR><A NAME="getTempFile()"><!-- --></A><H3>getTempFile</H3><PRE>public java.io.File <B>getTempFile</B>()</PRE><DL><DD>Gets the temp file for packing.<DD><DL><DT><B>Returns:</B><DD>the temporary file which is effective only during packing, otherwise null.</DL></DD></DL><HR><A NAME="abortPack()"><!-- --></A><H3>abortPack</H3><PRE>public void <B>abortPack</B>()</PRE><DL><DD>Stops the pack. Only effective when this dictionary is being packed.<DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>Overriden should normally returns the dictionary's name.<DD><DL><DT><B>Returns:</B><DD>the name of the dictionary. If not found, return "unknown name".<DT><B>Overrides:</B><DD>toString in class java.lang.Object</DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public java.lang.String <B>getName</B>()</PRE><DL><DD>Gets the dictionary name.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html#getName()">getName</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/Dictionary.html">Dictionary</A></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="package-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;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../../com/sun/tdc/util/dictionary/DictPackageResource.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="BbtfDictionary.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 + -