📄 classunit.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"><!--NewPage--><HTML><HEAD><!-- Generated by javadoc on Thu Aug 26 16:16:44 CST 1999 --><TITLE>Java Internationalization and Localization Toolkit public api document: Class ClassUnit</TITLE><LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style"></HEAD><BODY BGCOLOR="white"><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_top"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1"><A NAME="navbar_top_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"> PREV CLASS <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ProjectItem.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="ClassUnit.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2"> SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><!-- ======== START OF CLASS DATA ======== --><H2><FONT SIZE="-1">com.sun.tdc.toolkit.api.internal</FONT><BR>Class ClassUnit</H2><PRE>java.lang.Object | +--<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">com.sun.tdc.toolkit.api.internal.Unit</A> | +--<B>com.sun.tdc.toolkit.api.internal.ClassUnit</B></PRE><HR><DL><DT>public class <B>ClassUnit</B><DT>extends <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></DL><P>the different class body in one java source file<P><HR><P><!-- ======== INNER CLASS SUMMARY ======== --><!-- =========== FIELD SUMMARY =========== --><A NAME="field_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Field Summary</B></FONT></TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#className">className</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#isInterface">isInterface</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#modifier">modifier</A></B></CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>(package private) <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#superClass">superClass</A></B></CODE><BR> </TD></TR></TABLE> <A NAME="fields_inherited_from_class_com.sun.tdc.toolkit.api.internal.Unit"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor"><TD><B>Fields inherited from class com.sun.tdc.toolkit.api.internal.<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></B></TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD><CODE><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html#end">end</A>, <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html#existing">existing</A>, <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html#source">source</A>, <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html#start">start</A></CODE></TD></TR></TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --><A NAME="constructor_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Constructor Summary</B></FONT></TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#ClassUnit(com.sun.tdc.toolkit.api.internal.SourceFileInterface, com.sun.tdc.toolkit.api.internal.Unit, boolean, com.sun.tdc.toolkit.api.internal.Unit, com.sun.tdc.toolkit.api.internal.Unit, int, int)">ClassUnit</A></B>(<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/SourceFileInterface.html">SourceFileInterface</A> source, <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> modifier, boolean isInterface, <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> className, <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A> superClass, int startPos, int endPos)</CODE><BR> </TD></TR></TABLE> <!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" ID="TableHeadingColor"><TD COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#getClassName()">getClassName</A></B>()</CODE><BR> the class name of this class body</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#getClassNameUnit()">getClassNameUnit</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#getLocalePostfix()">getLocalePostfix</A></B>()</CODE><BR> get the postfix of this class name.</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#getModifier()">getModifier</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#getSuperClass()">getSuperClass</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#getSuperClassName()">getSuperClassName</A></B>()</CODE><BR> get the super class name</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#increase(int, int)">increase</A></B>(int off, int v)</CODE><BR> Since there are some new Unit registered here, so update more</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#insertBlock(java.lang.String)">insertBlock</A></B>(java.lang.String s)</CODE><BR> insert a string in front of a class body and return the unit that has just been inserted .</TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#isAInterface()">isAInterface</A></B>()</CODE><BR> </TD></TR><TR BGCOLOR="white" ID="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/ClassUnit.html#setClassName(java.lang.String)">setClassName</A></B>(java.lang.String s)</CODE><BR> set the class name to the string</TD></TR></TABLE> <A NAME="methods_inherited_from_class_com.sun.tdc.toolkit.api.internal.Unit"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor"><TD><B>Methods inherited from class com.sun.tdc.toolkit.api.internal.<A HREF="../../../../../../com/sun/tdc/toolkit/api/internal/Unit.html">Unit</A></B></TD></TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -