📄 name.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>Name.</B><B><A HREF="../../../javax/naming/Name.html#getSuffix(int)">getSuffix</A></B>(int posn)</CODE><BR> Creates a name whose components consist of a suffix of the components in this name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>Name.</B><B><A HREF="../../../javax/naming/Name.html#addAll(javax.naming.Name)">addAll</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> suffix)</CODE><BR> Adds the components of a name -- in order -- to the end of this name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>Name.</B><B><A HREF="../../../javax/naming/Name.html#addAll(int, javax.naming.Name)">addAll</A></B>(int posn, <A HREF="../../../javax/naming/Name.html">Name</A> n)</CODE><BR> Adds the components of a name -- in order -- at a specified position within this name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>Name.</B><B><A HREF="../../../javax/naming/Name.html#add(java.lang.String)">add</A></B>(<A HREF="../../../java/lang/String.html">String</A> comp)</CODE><BR> Adds a single component to the end of this name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>Name.</B><B><A HREF="../../../javax/naming/Name.html#add(int, java.lang.String)">add</A></B>(int posn, <A HREF="../../../java/lang/String.html">String</A> comp)</CODE><BR> Adds a single component at a specified position within this name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>NameParser.</B><B><A HREF="../../../javax/naming/NameParser.html#parse(java.lang.String)">parse</A></B>(<A HREF="../../../java/lang/String.html">String</A> name)</CODE><BR> Parses a name into its components.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompoundName.</B><B><A HREF="../../../javax/naming/CompoundName.html#getPrefix(int)">getPrefix</A></B>(int posn)</CODE><BR> Creates a compound name whose components consist of a prefix of the components in this compound name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompoundName.</B><B><A HREF="../../../javax/naming/CompoundName.html#getSuffix(int)">getSuffix</A></B>(int posn)</CODE><BR> Creates a compound name whose components consist of a suffix of the components in this compound name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompoundName.</B><B><A HREF="../../../javax/naming/CompoundName.html#addAll(javax.naming.Name)">addAll</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> suffix)</CODE><BR> Adds the components of a compound name -- in order -- to the end of this compound name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompoundName.</B><B><A HREF="../../../javax/naming/CompoundName.html#addAll(int, javax.naming.Name)">addAll</A></B>(int posn, <A HREF="../../../javax/naming/Name.html">Name</A> n)</CODE><BR> Adds the components of a compound name -- in order -- at a specified position within this compound name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompoundName.</B><B><A HREF="../../../javax/naming/CompoundName.html#add(java.lang.String)">add</A></B>(<A HREF="../../../java/lang/String.html">String</A> comp)</CODE><BR> Adds a single component to the end of this compound name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompoundName.</B><B><A HREF="../../../javax/naming/CompoundName.html#add(int, java.lang.String)">add</A></B>(int posn, <A HREF="../../../java/lang/String.html">String</A> comp)</CODE><BR> Adds a single component at a specified position within this compound name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>InitialContext.</B><B><A HREF="../../../javax/naming/InitialContext.html#composeName(javax.naming.Name, javax.naming.Name)">composeName</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name, <A HREF="../../../javax/naming/Name.html">Name</A> prefix)</CODE><BR> Composes the name of this context with a name relative to this context.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CannotProceedException.</B><B><A HREF="../../../javax/naming/CannotProceedException.html#getRemainingNewName()">getRemainingNewName</A></B>()</CODE><BR> Retrieves the "remaining new name" field of this exception, which is used when this exception is thrown during a rename() operation.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CannotProceedException.</B><B><A HREF="../../../javax/naming/CannotProceedException.html#getAltName()">getAltName</A></B>()</CODE><BR> Retrieves the <code>altName</code> field of this exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#getPrefix(int)">getPrefix</A></B>(int posn)</CODE><BR> Creates a composite name whose components consist of a prefix of the components in this composite name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#getSuffix(int)">getSuffix</A></B>(int posn)</CODE><BR> Creates a composite name whose components consist of a suffix of the components in this composite name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#addAll(javax.naming.Name)">addAll</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> suffix)</CODE><BR> Adds the components of a composite name -- in order -- to the end of this composite name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#addAll(int, javax.naming.Name)">addAll</A></B>(int posn, <A HREF="../../../javax/naming/Name.html">Name</A> n)</CODE><BR> Adds the components of a composite name -- in order -- at a specified position within this composite name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#add(java.lang.String)">add</A></B>(<A HREF="../../../java/lang/String.html">String</A> comp)</CODE><BR> Adds a single component to the end of this composite name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>CompositeName.</B><B><A HREF="../../../javax/naming/CompositeName.html#add(int, java.lang.String)">add</A></B>(int posn, <A HREF="../../../java/lang/String.html">String</A> comp)</CODE><BR> Adds a single component at a specified position within this composite name.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../javax/naming/Name.html">Name</A></CODE></FONT></TD><TD><CODE><B>Context.</B><B><A HREF="../../../javax/naming/Context.html#composeName(javax.naming.Name, javax.naming.Name)">composeName</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name, <A HREF="../../../javax/naming/Name.html">Name</A> prefix)</CODE><BR> Composes the name of this context with a name relative to this context.</TD></TR></TABLE> <P><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor"><TD COLSPAN=2>Methods in <A HREF="../../../javax/naming/package-summary.html">javax.naming</A> with parameters of type <A HREF="../../../javax/naming/Name.html">Name</A></FONT></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>NamingException.</B><B><A HREF="../../../javax/naming/NamingException.html#setResolvedName(javax.naming.Name)">setResolvedName</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Sets the resolved name field of this exception.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B>NamingException.</B><B><A HREF="../../../javax/naming/NamingException.html#setRemainingName(javax.naming.Name)">setRemainingName</A></B>(<A HREF="../../../javax/naming/Name.html">Name</A> name)</CODE><BR> Sets the remaining name field of this exception.</TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -