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

📄 unit.html

📁 是一个加快Java应用程序国际化和本地化开发的工具集。它将大大减少国际化和本地化开发的所消耗的时间和资源。
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</TR></TABLE><A NAME="start"><!-- --></A><H3>start</H3><PRE>protected int <B>start</B></PRE><DL><DD>the start offset of this unit in java file</DL><HR><A NAME="end"><!-- --></A><H3>end</H3><PRE>protected int <B>end</B></PRE><DL><DD>the end offset of this unit in java file</DL><HR><A NAME="source"><!-- --></A><H3>source</H3><PRE>protected <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/SourceFileInterface.html">SourceFileInterface</A> <B>source</B></PRE><DL><DD>the java source file for get</DL><HR><A NAME="existing"><!-- --></A><H3>existing</H3><PRE>protected boolean <B>existing</B></PRE><DL><DD>if this unit still exists in the java source file</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="Unit(com.sun.tdc.toolkit.api.internal.SourceFileInterface, int, int)"><!-- --></A><H3>Unit</H3><PRE>public <B>Unit</B>(<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/SourceFileInterface.html">SourceFileInterface</A>&nbsp;source,            int&nbsp;prePos,            int&nbsp;pos)</PRE><DL><DD>create an unit for one certain java file</DL><HR><A NAME="Unit(com.sun.tdc.toolkit.api.internal.SourceFileInterface)"><!-- --></A><H3>Unit</H3><PRE>public <B>Unit</B>(<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/SourceFileInterface.html">SourceFileInterface</A>&nbsp;source)</PRE><DL></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="isExisting()"><!-- --></A><H3>isExisting</H3><PRE>public boolean <B>isExisting</B>()</PRE><DL><DD>if this unit is still existing in the java source file<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#isExisting()">isExisting</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="setExisting(boolean)"><!-- --></A><H3>setExisting</H3><PRE>public void <B>setExisting</B>(boolean&nbsp;v)</PRE><DL><DD>if the whole unit is deleted by the user this method will be invoked in java file<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#setExisting(boolean)">setExisting</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="getStart()"><!-- --></A><H3>getStart</H3><PRE>public int <B>getStart</B>()</PRE><DL><DD>the invoke method of members<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getStart()">getStart</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="setStart(int)"><!-- --></A><H3>setStart</H3><PRE>public void <B>setStart</B>(int&nbsp;v)</PRE><DL><DD>the invoke method of members<DD><DL></DL></DD></DL><HR><A NAME="getEnd()"><!-- --></A><H3>getEnd</H3><PRE>public int <B>getEnd</B>()</PRE><DL><DD>the invoke method of members<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getEnd()">getEnd</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="setEnd(int)"><!-- --></A><H3>setEnd</H3><PRE>public void <B>setEnd</B>(int&nbsp;v)</PRE><DL><DD>the invoke method of members<DD><DL></DL></DD></DL><HR><A NAME="getStartOfLine()"><!-- --></A><H3>getStartOfLine</H3><PRE>public int <B>getStartOfLine</B>()</PRE><DL><DD>the invoke method of members<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getStartOfLine()">getStartOfLine</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="getEndOfLine()"><!-- --></A><H3>getEndOfLine</H3><PRE>public int <B>getEndOfLine</B>()</PRE><DL><DD>the invoke method of members<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getEndOfLine()">getEndOfLine</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="getStartLine()"><!-- --></A><H3>getStartLine</H3><PRE>public int <B>getStartLine</B>()</PRE><DL><DD>the invoke method of members<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getStartLine()">getStartLine</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="getEndLine()"><!-- --></A><H3>getEndLine</H3><PRE>public int <B>getEndLine</B>()</PRE><DL><DD>the invoke method of members<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getEndLine()">getEndLine</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="getOffsetOfBOL()"><!-- --></A><H3>getOffsetOfBOL</H3><PRE>public int <B>getOffsetOfBOL</B>()</PRE><DL><DD>get the offset of the beginning of the line in which this unit is nested<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getOffsetOfBOL()">getOffsetOfBOL</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A><DT><B>Returns:</B><DD>the offset of the beginning of the line where the start of this unit  nests.</DL></DD></DL><HR><A NAME="getOffsetOfEOL()"><!-- --></A><H3>getOffsetOfEOL</H3><PRE>public int <B>getOffsetOfEOL</B>()</PRE><DL><DD>get the offset of the end of the line in which this unit is nested<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getOffsetOfEOL()">getOffsetOfEOL</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A><DT><B>Returns:</B><DD>the offset of the end of the line where the end of this unit  nests.</DL></DD></DL><HR><A NAME="getStartPostion()"><!-- --></A><H3>getStartPostion</H3><PRE>public long <B>getStartPostion</B>()</PRE><DL><DD>get the position (line-number and offset) of this unit<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getStartPostion()">getStartPostion</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="getEndPosition()"><!-- --></A><H3>getEndPosition</H3><PRE>public long <B>getEndPosition</B>()</PRE><DL><DD>get the position (line-number and offset) of this unit<DD><DL><DT><B>Specified by: </B><DD><A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html#getEndPosition()">getEndPosition</A> in interface <A HREF="../../../../../../com/sun/tdc/toolkit/api/UnitInterface.html">UnitInterface</A></DL></DD></DL><HR><A NAME="getSource()"><!-- --></A><H3>getSource</H3><PRE>public <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/SourceFileInterface.html">SourceFileInterface</A> <B>getSource</B>()</PRE><DL><DD>the invoke method of members<DD><DL></DL></DD></DL><HR><A NAME="setSource(com.sun.tdc.toolkit.api.internal.SourceFileInterface)"><!-- --></A><H3>setSource</H3><PRE>public void <B>setSource</B>(<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/SourceFileInterface.html">SourceFileInterface</A>&nbsp;v)</PRE><DL><DD>the invoke method of members<DD><DL></DL></DD></DL><HR><A NAME="increase(int, int)"><!-- --></A><H3>increase</H3><PRE>public void <B>increase</B>(int&nbsp;offset,                     int&nbsp;inc)</PRE><DL><DD>adjust the unit position<DD><DL></DL></DD></DL><HR><A NAME="getFileName()"><!-- --></A><H3>getFileName</H3><PRE>public java.lang.String <B>getFileName</B>()</PRE><DL><DD>get the contains of this unit<DD><DL></DL></DD></DL><HR><A NAME="getContainerClassName()"><!-- --></A><H3>getContainerClassName</H3><PRE>public java.lang.String <B>getContainerClassName</B>()</PRE><DL><DD>Get the class name which contains this unit . No inter class considered here !<DD><DL></DL></DD></DL><HR><A NAME="toString()"><!-- --></A><H3>toString</H3><PRE>public java.lang.String <B>toString</B>()</PRE><DL><DD>return the contains of this unit<DD><DL><DT><B>Overrides:</B><DD>toString in class java.lang.Object</DL></DD></DL><HR><A NAME="equals(com.sun.tdc.toolkit.api.internal.Unit)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A>&nbsp;u)</PRE><DL><DD>override Object.equals() method<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="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;<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ToolEvent.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;NEXT CLASS</FONT></TD><TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Unit.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 + -