📄 telurl.html
字号:
<DL>
<DD>Returns <code>true</code> if this TelURL is global i.e. if the TelURI has a global phone user.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD><code>true</code> if this TelURL represents a global phone user, and <code>false</code> otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="setGlobal(boolean)"><!-- --></A><H3>
setGlobal</H3>
<PRE>
void <B>setGlobal</B>(boolean global)</PRE>
<DL>
<DD>Sets phone user of this TelURL to be either global or local. The default value is false, hence the TelURL is defaulted to local.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>global</CODE> - - the boolean value indicating if the TelURL has a global phone user.</DL>
</DD>
</DL>
<HR>
<A NAME="setPostDial(java.lang.String)"><!-- --></A><H3>
setPostDial</H3>
<PRE>
void <B>setPostDial</B>(java.lang.String postDial)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets post dial of this TelURL. The post-dial sequence describes what and when the local entity should send to the phone line.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>postDial</CODE> - - new value of the <code>postDial</code> parameter
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the postDial value.</DL>
</DD>
</DL>
<HR>
<A NAME="getPostDial()"><!-- --></A><H3>
getPostDial</H3>
<PRE>
java.lang.String <B>getPostDial</B>()</PRE>
<DL>
<DD>Returns the value of the <code>postDial</code> parameter, or null if it is not set.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the value of the <code>postDial</code> parameter</DL>
</DD>
</DL>
<HR>
<A NAME="setPhoneNumber(java.lang.String)"><!-- --></A><H3>
setPhoneNumber</H3>
<PRE>
void <B>setPhoneNumber</B>(java.lang.String phoneNumber)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets phone number of this TelURL. The phone number may either be local or global determined by the isGlobal method in this interface. The phoneNumber argument should not contain the "+" associated with telephone numbers.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>phoneNumber</CODE> - - new value of the <code>phoneNumber</code> parameter
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the phoneNumber value.</DL>
</DD>
</DL>
<HR>
<A NAME="getPhoneNumber()"><!-- --></A><H3>
getPhoneNumber</H3>
<PRE>
java.lang.String <B>getPhoneNumber</B>()</PRE>
<DL>
<DD>Returns the value of the <code>phoneNumber</code> parameter. This method will not return the "+" associated with telephone numbers.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the value of the <code>phoneNumber</code> parameter</DL>
</DD>
</DL>
<HR>
<A NAME="setIsdnSubAddress(java.lang.String)"><!-- --></A><H3>
setIsdnSubAddress</H3>
<PRE>
void <B>setIsdnSubAddress</B>(java.lang.String isdnSubAddress)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets ISDN subaddress of this TelURL. If a subaddress is present, it is appended to the phone number after ";isub=".
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>isdnSubAddress</CODE> - - new value of the <code>isdnSubAddress</code> parameter
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the isdnSubAddress value.</DL>
</DD>
</DL>
<HR>
<A NAME="getIsdnSubAddress()"><!-- --></A><H3>
getIsdnSubAddress</H3>
<PRE>
java.lang.String <B>getIsdnSubAddress</B>()</PRE>
<DL>
<DD>Returns the value of the <code>isdnSubAddress</code> parameter, or null if it is not set.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the value of the <code>isdnSubAddress</code> parameter</DL>
</DD>
</DL>
<HR>
<A NAME="setPhoneContext(java.lang.String)"><!-- --></A><H3>
setPhoneContext</H3>
<PRE>
void <B>setPhoneContext</B>(java.lang.String phoneContext)
throws java.text.ParseException</PRE>
<DL>
<DD>Sets the phone context of this TelURL.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>phoneContext</CODE> - - new value of the <code>phoneContext</code> parameter
<DT><B>Throws:</B>
<DD><CODE>java.text.ParseException</CODE> - which signals that an error has been reached unexpectedly while parsing the phoneContext value.<DT><B>Since:</B></DT>
<DD>v1.2</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getPhoneContext()"><!-- --></A><H3>
getPhoneContext</H3>
<PRE>
java.lang.String <B>getPhoneContext</B>()</PRE>
<DL>
<DD>Returns the value of the <code>phoneContext</code> parameter, or null if it is not set.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>the value of the <code>phoneContext</code> parameter<DT><B>Since:</B></DT>
<DD>v1.2</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>This method returns the URI as a string.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../javax/sip/address/URI.html#toString()">toString</A></CODE> in interface <CODE><A HREF="../../../javax/sip/address/URI.html" title="interface in javax.sip.address">URI</A></CODE><DT><B>Overrides:</B><DD><CODE>toString</CODE> in class <CODE>java.lang.Object</CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>String The stringified version of the URI</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
<b>JSIP API v1.2<br><font size=-1>November 2006</font></b></EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../javax/sip/address/SipURI.html" title="interface in javax.sip.address"><B>PREV CLASS</B></A>
<A HREF="../../../javax/sip/address/URI.html" title="interface in javax.sip.address"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../index.html?javax/sip/address/TelURL.html" target="_top"><B>FRAMES</B></A>
<A HREF="TelURL.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
<center>If you have any comments, please mail them to <a href=mailto:JAIN-SIP-INTEREST@java.sun.com>JAIN-SIP-INTEREST@java.sun.com</a> after subscribing at <a href=http://archives.java.sun.com>http://archives.java.sun.com</a><br><a href=../../../copyright.html>Copyright</a> - 2006 BEA Systems and Sun Microsystems</center>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -