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

📄 resourcedocument.html

📁 是一个加快Java应用程序国际化和本地化开发的工具集。它将大大减少国际化和本地化开发的所消耗的时间和资源。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="messages"><!-- --></A><H3>messages</H3><PRE>static java.util.ResourceBundle <B>messages</B></PRE><DL></DL><HR><A NAME="source"><!-- --></A><H3>source</H3><PRE>com.sun.tdc.toolkit.resource.ResourceDataInterface <B>source</B></PRE><DL></DL><HR><A NAME="units"><!-- --></A><H3>units</H3><PRE>com.sun.tdc.toolkit.resource.ResDocUnit[] <B>units</B></PRE><DL></DL><HR><A NAME="tokenItems"><!-- --></A><H3>tokenItems</H3><PRE><A HREF="../../../../../com/sun/tdc/toolkit/api/internal/TokenItem.html">TokenItem</A>[] <B>tokenItems</B></PRE><DL></DL><HR><A NAME="rudeCoded"><!-- --></A><H3>rudeCoded</H3><PRE>protected boolean <B>rudeCoded</B></PRE><DL></DL><HR><A NAME="current"><!-- --></A><H3>current</H3><PRE>int <B>current</B></PRE><DL></DL><HR><A NAME="type"><!-- --></A><H3>type</H3><PRE>protected int <B>type</B></PRE><DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="ResourceDocument()"><!-- --></A><H3>ResourceDocument</H3><PRE>public <B>ResourceDocument</B>()</PRE><DL><DD>Constructor.</DL><HR><A NAME="ResourceDocument(com.sun.tdc.toolkit.resource.AbstractResource, boolean)"><!-- --></A><H3>ResourceDocument</H3><PRE>public <B>ResourceDocument</B>(com.sun.tdc.toolkit.resource.AbstractResource&nbsp;resource,                        boolean&nbsp;rude)                 throws com.sun.tdc.toolkit.resource.ResourceException</PRE><DL><DD>Constructor.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="isRudeCoded()"><!-- --></A><H3>isRudeCoded</H3><PRE>public boolean <B>isRudeCoded</B>()</PRE><DL><DD>If the key-value pair are rude coded.<DD><DL><DT><B>Returns:</B><DD>false: unicode char.</DL></DD></DL><HR><A NAME="setRudeCoded(boolean)"><!-- --></A><H3>setRudeCoded</H3><PRE>public void <B>setRudeCoded</B>(boolean&nbsp;set)</PRE><DL><DD>Set rude coded view or not.<DD><DL></DL></DD></DL><HR><A NAME="getUnits()"><!-- --></A><H3>getUnits</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>[] <B>getUnits</B>()</PRE><DL><DD>Get (only VALUE-flag) concerned Units.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html#getUnits()">getUnits</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html">ToolkitData</A></DL></DD></DL><HR><A NAME="getAllUnits()"><!-- --></A><H3>getAllUnits</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>[] <B>getAllUnits</B>()</PRE><DL><DD>Get all concerned Units.<DD><DL></DL></DD></DL><HR><A NAME="setBuffer(java.lang.String)"><!-- --></A><H3>setBuffer</H3><PRE>public void <B>setBuffer</B>(java.lang.String&nbsp;buf)</PRE><DL><DD>set the data buffer.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html#setBuffer(java.lang.String)">setBuffer</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html">ToolkitData</A><DT><B>Parameters:</B><DD><CODE>buf</CODE> - - the string to be set</DL></DD></DL><HR><A NAME="getBuffer()"><!-- --></A><H3>getBuffer</H3><PRE>public java.lang.String <B>getBuffer</B>()</PRE><DL><DD>get the data buffer.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html#getBuffer()">getBuffer</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html">ToolkitData</A><DT><B>Returns:</B><DD>the data buffer which holds texts data</DL></DD></DL><HR><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>public int <B>getType</B>()</PRE><DL><DD>get resource type.<DD><DL></DL></DD></DL><HR><A NAME="remove(int, int)"><!-- --></A><H3>remove</H3><PRE>public void <B>remove</B>(int&nbsp;where,                   int&nbsp;nitems)</PRE><DL><DD>remove some portion of the sequence has been removed.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html#remove(int, int)">remove</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html">ToolkitData</A><DT><B>Parameters:</B><DD><CODE>where</CODE> - - The offset into the sequence to make the insertion >= 0.<DD><CODE>-</CODE> - The number of items in the sequence to remove >= 0.</DL></DD></DL><HR><A NAME="insert(int, java.lang.String)"><!-- --></A><H3>insert</H3><PRE>public void <B>insert</B>(int&nbsp;where,                   java.lang.String&nbsp;str)</PRE><DL><DD>insert a string of characters has been inserted.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html#insert(int, java.lang.String)">insert</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html">ToolkitData</A><DT><B>Parameters:</B><DD><CODE>where</CODE> - - Offset into the sequence to make the insertion >= 0.<DD><CODE>str</CODE> - - String to insert.</DL></DD></DL><HR><A NAME="updateUnit(com.sun.tdc.toolkit.resource.ResDocUnit, java.lang.String)"><!-- --></A><H3>updateUnit</H3><PRE>public com.sun.tdc.toolkit.resource.ResDocUnit <B>updateUnit</B>(com.sun.tdc.toolkit.resource.ResDocUnit&nbsp;unit,                                                          java.lang.String&nbsp;str)</PRE><DL><DD>Update ResDocUnit with String.<DD><DL></DL></DD></DL><HR><A NAME="getTokenItems()"><!-- --></A><H3>getTokenItems</H3><PRE>public <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/TokenItem.html">TokenItem</A>[] <B>getTokenItems</B>()</PRE><DL><DD>get the array which holds token items, a token item can specify which portion of the text belongs to which token type.<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html#getTokenItems()">getTokenItems</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html">ToolkitData</A><DT><B>Returns:</B><DD>the array holds all the token items of the text buffer.</DL></DD></DL><HR><A NAME="isEditable()"><!-- --></A><H3>isEditable</H3><PRE>public boolean <B>isEditable</B>()</PRE><DL><DD>If the whole document is editable or not?.<DD><DL></DL></DD></DL><HR><A NAME="setEditable(boolean)"><!-- --></A><H3>setEditable</H3><PRE>public void <B>setEditable</B>(boolean&nbsp;set)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="isEditable(int, int)"><!-- --></A><H3>isEditable</H3><PRE>public boolean <B>isEditable</B>(int&nbsp;where,                          int&nbsp;len)</PRE><DL><DD>judge if a portion of the buffer is editable<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html#isEditable(int, int)">isEditable</A> in interface <A HREF="../../../../../com/sun/tdc/toolkit/api/internal/ToolkitData.html">ToolkitData</A><DT><B>Returns:</B><DD>true if the portion is editable, else return false.</DL></DD></DL><HR><A NAME="getUnitWithOffset(int)"><!-- --></A><H3>getUnitWithOffset</H3><PRE>public com.sun.tdc.toolkit.resource.ResDocUnit <B>getUnitWithOffset</B>(int&nbsp;offset)</PRE><DL><DD>get a unit which contains the text on the offset position<DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - - the position</DL></DD></DL><HR><A NAME="load(java.lang.String, int)"><!-- --></A><H3>load</H3><PRE>public boolean <B>load</B>(java.lang.String&nbsp;fileName,                    int&nbsp;type)             throws com.sun.tdc.toolkit.resource.ResourceException</PRE><DL><DD>Load contents.<DD><DL><DT><B>Parameters:</B><DD><CODE>rude</CODE> - false: unicode char.  true : \\uxxxx</DL></DD></DL><HR><A NAME="load(java.lang.String, int, boolean)"><!-- --></A><H3>load</H3><PRE>public boolean <B>load</B>(java.lang.String&nbsp;fileName,                    int&nbsp;type,                    boolean&nbsp;rude)             throws com.sun.tdc.toolkit.resource.ResourceException</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="load(java.io.InputStream, int)"><!-- --></A><H3>load</H3><PRE>public boolean <B>load</B>(java.io.InputStream&nbsp;in,                    int&nbsp;type)             throws com.sun.tdc.toolkit.resource.ResourceException</PRE><DL><DD>Load contents.<DD><DL><DT><B>Parameters:</B><DD><CODE>rude</CODE> - false: unicode char.  true : \\uxxxx</DL></DD></DL><HR><A NAME="load(java.io.InputStream, int, boolean)"><!-- --></A><H3>load</H3><PRE>public boolean <B>load</B>(java.io.InputStream&nbsp;in,                    int&nbsp;type,                    boolean&nbsp;rude)             throws com.sun.tdc.toolkit.resource.ResourceException</PRE><DL><DD>Load contents.<DD><DL><DT><B>Parameters:</B><DD><CODE>rude</CODE> - false: unicode char.  true : \\uxxxx</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/messagetool/PeerUnitMapping.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/sun/tdc/toolkit/resourcetool/ResourceToolImpl.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="ResourceDocument.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 + -