亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? contact.html

?? J2ME PDA開發PIM的技術規范,可使應用程序查看手機本地聯系人列表, 本地文件
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
<!--NewPage-->
<HTML>
	<HEAD>
		<TITLE>Contact (PIM Optional Package 1.0 Spec, Final Release) </TITLE>
		<!-- Generated by javadoc on Wed Oct 29 13:13:40 PST 2003 -->
		<META NAME="keywords" CONTENT="javax.microedition.pim.Contact,Contact interface">
		<LINK REL="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
			<SCRIPT>
function asd()
{
parent.document.title="Contact (PIM Optional Package 1.0 Spec, Final Release)";
}
			</SCRIPT>
	</HEAD>
	<BODY BGCOLOR="white" onload="asd();">
		<!-- ========== START OF NAVBAR ========== -->
		<A NAME="navbar_top"><!-- --></A>
		<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
			<TR>
				<TD COLSPAN="3" BGCOLOR="#eeeeff" CLASS="NavBarCell1">
					<A NAME="navbar_top_firstrow"><!-- --></A>
					<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
						<TR ALIGN="center" VALIGN="top">
							<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
								<A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
							<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
								<A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
							<TD BGCOLOR="#ffffff" CLASS="NavBarCell1Rev">
								&nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
							<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
								<A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
							<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
								<A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
							<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
								<A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
							<TD BGCOLOR="#eeeeff" CLASS="NavBarCell1">
								<A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
						</TR>
					</TABLE>
				</TD>
				<TD ALIGN="right" VALIGN="top" ROWSPAN="3"><EM> PIM Optional Package 1.0<br>
						Final Release</EM>
				</TD>
			</TR>
			<TR>
				<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;PREV CLASS&nbsp; &nbsp;<A HREF="../../../javax/microedition/pim/ContactList.html"><B>NEXT 
								CLASS</B></A></FONT></TD>
				<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" TARGET="_top">
							<B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="Contact.html" TARGET="_top"><B>NO FRAMES</B></A>
						&nbsp; &nbsp;
						<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT>
						<NOSCRIPT>
							<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>
						</NOSCRIPT>
					</FONT>
				</TD>
			</TR>
			<TR>
				<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
				<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
			</TR>
		</TABLE>
		<!-- =========== END OF NAVBAR =========== -->
		<HR>
		<!-- ======== START OF CLASS DATA ======== -->
		<H2>
			<FONT SIZE="-1">javax.microedition.pim</FONT>
			<BR>
			Interface Contact</H2>
		<DL>
			<DT><B>All Superinterfaces:</B>
				<DD>
					<A HREF="../../../javax/microedition/pim/PIMItem.html">PIMItem</A></DD>
		</DL>
		<HR>
		<DL>
			<DT>public interface <B>Contact</B><DT>extends <A HREF="../../../javax/microedition/pim/PIMItem.html">
						PIMItem</A></DT></DL>
		<P>
		<P>Represents a single Contact entry in a PIM Contact database. The supported field 
			list for a Contact is also a subset of the fields defined by the vCard 
			specification from the Internet Mail Consortium (http://www.imc.org). This set 
			of fields included in this Contact class represents those necessary to provide 
			the relevant information about a contact without compromising platform 
			portability.
		</P>
		<P>The Contact class has many different fields that it can support. However, each 
			individual Contact object supports only fields valid for its associated list. 
			Its ContactList restricts what fields in a Contact are retained. This reflects 
			that some native Contact databases do not support all of the fields available 
			in a Contact item. The methods <A HREF="../../../javax/microedition/pim/PIMList.html#isSupportedField(int)">
				<CODE>PIMList.isSupportedField(int)</CODE></A> and <A HREF="../../../javax/microedition/pim/PIMList.html#getSupportedAttributes(int)">
				<CODE>PIMList.getSupportedAttributes(int)</CODE></A> can be used to 
			determine if particular Contact fields and types are supported by a ContactList 
			and therefore persisted when the Contact is committed to its list. Attempts to 
			add or get data based on fields not supported in the Contact's ContactList 
			result in a <A HREF="../../../javax/microedition/pim/UnsupportedFieldException.html">
				<CODE>UnsupportedFieldException</CODE></A>.
		</P>
		<H3>Data</H3>
		The following table details the explicitly defined fields that may by in a 
		Contact. Implementations may extend the field set using extended fields as 
		defined in PIMItem.
		<h4>Table: Standard Fields</h4>
		<table border="1">
			<TR>
				<th>
					Fields
				</th>
				<th>
					Type of Data Associated with Field
				</th>
			</TR>
			<tr>
				<td><code>NAME, ADDR</code></td>
				<td><code>PIMItem.STRING_ARRAY</code></td>
			</tr>
			<tr>
				<td><code>EMAIL, FORMATTED_NAME, NICKNAME, NOTE, ORG, TEL, TITLE, UID, URL</code></td>
				<td><code>PIMItem.STRING</code></td>
			</tr>
			<tr>
				<td><code>BIRTHDAY, REVISION</code></td>
				<td><code>PIMItem.DATE</code></td>
			</tr>
			<tr>
				<td><code>PHOTO, PUBLIC_KEY</code></td>
				<td><code>PIMItem.BINARY</code></td>
			</tr>
			<tr>
				<td><code>PHOTO_URL, PUBLIC_KEY_STRING</code></td>
				<td><code>PIMItem.STRING</code></td>
			</tr>
			<tr>
				<td><code>CLASS</code></td>
				<td><code>PIMItem.INT</code></td>
			</tr>
		</table>
		<h3>Required Field Support</h3>
		<P>All Contact fields may or may not be supported by a particular list. This is due 
			to the fact that underlying native databases may not support all of the fields 
			defined in this API. Support for any of the fields can be determined by the 
			method <A HREF="../../../javax/microedition/pim/PIMList.html#isSupportedField(int)">
				<CODE>PIMList.isSupportedField(int)</CODE></A>.
		</P>
		<P>
			Native Contact databases may require some of the fields to have values assigned 
			to them in order to be persisted. If an application does not provide values for 
			these fields, default values are provided for the Contact by the VM when the 
			Contact is persisted.
		</P>
		<h3>Examples</h3>
		<h4>Explicit Field Use with Field Checking</h4>
		This first example shows explicit field access in which each field is properly 
		checked for support prior to use. This results in code that is more portable 
		across PIM implementations regardless of which specific fields are supported on 
		particular PIM list implementations. If one of the fields is not supported by 
		the list, the field is not set in the Contact.
		<pre> ContactList contacts = null;
 try {
    contacts = (ContactList) PIM.getInstance().openPIMList(PIM.CONTACT_LIST, PIM.READ_WRITE);
 } catch (PIMException e) {
    // An error occurred
    return;
 }
 Contact contact = contacts.createContact();
 String[] addr = new String[contacts.stringArraySize(Contact.ADDR)];
 String[] name = new String[contacts.stringArraySize(Contact.NAME)];

 if (contacts.isSupportedField(Contact.NAME_FORMATTED)
      contact.addString(Contact.NAME_FORMATTED, PIMItem.ATTR_NONE, "Mr. John Q. Public, Esq.");
 if (contacts.isSupportedArrayElement(Contact.NAME, Contact.NAME_FAMILY))
      name[Contact.NAME_FAMILY] = "Public";
 if (contacts.isSupportedArrayElement(Contact.NAME, Contact.NAME_GIVEN))
      name[Contact.NAME_GIVEN] = "John";
 contact.addStringArray(Contact.NAME, PIMItem.ATTR_NONE, name);
 if (contacts.isSupportedArrayElement(Contact.ADDR, Contact.ADDR_COUNTRY))
      addr[Contact.ADDR_COUNTRY] = "USA";
 if (contacts.isSupportedArrayElement(Contact.ADDR, Contact.ADDR_LOCALITY))
      addr[Contact.ADDR_LOCALITY] = "Coolsville";
 if (contacts.isSupportedArrayElement(Contact.ADDR, Contact.ADDR_POSTALCODE))
      addr[Contact.ADDR_POSTALCODE] = "91921-1234";
 if (contacts.isSupportedArrayElement(Contact.ADDR, Contact.ADDR_STREET))
      addr[Contact.ADDR_STREET] = "123 Main Street";
 if (contacts.isSupportedField(Contact.ADDR))
    contact.addStringArray(Contact.ADDR, Contact.ATTR_HOME, addr);
 if (contacts.isSupportedField(Contact.TEL))
    contact.addString(Contact.TEL, Contact.ATTR_HOME, "613-123-4567");
 if (contacts.maxCategories() != 0
       &amp;&amp; contacts.isCategory("Friends"))
    contact.addToCategory("Friends");
 if (contacts.isSupportedField(Contact.BIRTHDAY))
    contact.addDate(Contact.BIRTHDAY, PIMItem.ATTR_NONE, new Date().getTime());
 if (contacts.isSupportedField(Contact.EMAIL)) {
    contact.addString(Contact.EMAIL, Contact.ATTR_HOME | Contact.ATTR_PREFERRED, "jqpublic@xyz.dom1.com");
 }
 try {
      contact.commit();
 } catch (PIMException e) {
      // An error occured
 }
 try {
      contacts.close();
 } catch (PIMException e) {
 }
 </pre>
		<h4>Explicit Field Use with Exception Handling</h4>
		This second example also shows explicit field access that properly handles 
		optionally supported fields by use of a try catch block with <code>UnsupportedFieldException</code>. 
		In this case, the setting of the whole Contact is rejected if any of the fields 
		are not supported in the particular list implementation.
		<PRE>  ContactList contacts = null;
  try {
    contacts = (ContactList) PIM.getInstance().openPIMList(PIM.CONTACT_LIST, PIM.READ_WRITE);
  } catch (PIMException e) {
      // An error occurred
      return;
  }
  Contact contact = contacts.createContact();

  String[] name = new String[contacts.stringArraySize(Contact.NAME)];
  name[Contact.NAME_GIVEN] = "John";
  name[Contact.NAME_FAMILY] = "Public";

  String[] addr = new String[contacts.stringArraySize(Contact.ADDR)];
  addr[Contact.ADDR_COUNTRY] = "USA";
  addr[Contact.ADDR_LOCALITY] = "Coolsville";
  addr[Contact.ADDR_POSTALCODE] = "91921-1234";
  addr[Contact.ADDR_STREET] = "123 Main Street";

  try {
     contact.addString(Contact.NAME_FORMATTED, PIMItem.ATTR_NONE, "Mr. John Q. Public, Esq.");
     contact.addStringArray(Contact.NAME, PIMItem.ATTR_NONE, name);
     contact.addStringArray(Contact.ADDR, Contact.ATTR_HOME, addr);
     contact.addString(Contact.TEL, Contact.ATTR_HOME, "613-123-4567");
     contact.addToCategory("Friends");
     contact.addDate(Contact.BIRTHDAY, PIMItem.ATTR_NONE, new Date().getTime());
     contact.addString(Contact.EMAIL, Contact.ATTR_HOME | Contact.ATTR_PREFERRED, "jqpublic@xyz.dom1.com");

  } catch (UnsupportedFieldException e) {
    // In this case, we choose not to save the contact at all if any of the
    // fields are not supported on this platform.
    System.out.println("Contact not saved");
    return;
  }

  try {
      contact.commit();
  } catch (PIMException e) {
      // An error occured
  }
  try {
      contacts.close();
  } catch (PIMException e) {
  }
 </PRE>
		<P>
		<P>
			<DL>
				<DT><B>Since:</B>
					<DD>
						PIM 1.0 <DT><B>See Also:</B><DD><A target="_top" href="http://www.imc.org/pdi">Internet 
									Mail Consortium PDI</A>, <A HREF="../../../javax/microedition/pim/ContactList.html">
									<CODE>ContactList</CODE></A></DD></DL>
			<HR>
		<P>
			<!-- ======== NESTED CLASS SUMMARY ======== -->
			<!-- =========== FIELD SUMMARY =========== -->
			<A NAME="field_summary"><!-- --></A>
			<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
				<TR BGCOLOR="#ccccff" CLASS="TableHeadingColor">
					<TD COLSPAN="2"><FONT SIZE="+2"> <B>Field Summary</B></FONT></TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Contact.html#ADDR">ADDR</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying an 
						address for this Contact.</TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static&nbsp;int</CODE></FONT></TD>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
性做久久久久久免费观看欧美| 欧美成va人片在线观看| 中文字幕巨乱亚洲| 国产伦精品一区二区三区免费迷 | 久久久影视传媒| 日本成人中文字幕| 91精品国产综合久久精品app| 亚洲已满18点击进入久久| 色婷婷综合久久久中文字幕| 欧美国产欧美综合| 成人免费毛片高清视频| 中文字幕av一区二区三区高| 国产成人8x视频一区二区| 国产女人18毛片水真多成人如厕| 国产一区二区在线看| 久久久久久久精| 99久久伊人网影院| 午夜视频在线观看一区| 69成人精品免费视频| 韩国三级中文字幕hd久久精品| 久久久无码精品亚洲日韩按摩| 久久99精品久久久久久动态图| 日韩精品一区二区三区中文不卡| 国产一区二区电影| 亚洲欧美一区二区三区久本道91| 欧美日韩国产成人在线91| 免费欧美在线视频| 亚洲丝袜精品丝袜在线| 欧美日韩视频在线第一区| 国产在线精品一区二区夜色 | 欧美性一二三区| 奇米在线7777在线精品| 日本一区二区免费在线观看视频| 91网页版在线| 久久国产精品第一页| 亚洲欧美偷拍卡通变态| 日韩欧美中文字幕一区| 99精品桃花视频在线观看| 日本不卡视频在线| 亚洲欧美色综合| 欧美大片日本大片免费观看| 成人激情免费视频| 精品在线视频一区| 亚洲国产精品久久人人爱| 2024国产精品| 666欧美在线视频| 99精品国产91久久久久久| 狠狠色丁香久久婷婷综合丁香| 一区二区三区四区乱视频| 国产日韩欧美电影| 日韩欧美一二三四区| 欧洲av一区二区嗯嗯嗯啊| 成人一道本在线| 久久电影国产免费久久电影| 午夜伊人狠狠久久| 中文字幕一区二区三区在线不卡 | 美女精品自拍一二三四| 日韩综合在线视频| 亚洲丰满少妇videoshd| 亚洲一区二区精品3399| 一区二区三区不卡视频| 亚洲品质自拍视频网站| 日韩伦理av电影| 婷婷综合久久一区二区三区| 国产精品久久久久一区| 亚洲欧美在线高清| 亚洲精品写真福利| 亚洲精品乱码久久久久久久久| 亚洲伦理在线免费看| 一区二区三区波多野结衣在线观看| 1000精品久久久久久久久| 中文字幕亚洲电影| 亚洲狠狠丁香婷婷综合久久久| 亚洲午夜久久久久久久久电影院| 成人污视频在线观看| 99re在线视频这里只有精品| 99视频一区二区| 欧美三级中文字幕在线观看| 9191国产精品| 久久精品一区二区三区不卡 | 日韩欧美中文字幕制服| 国产日韩欧美精品在线| 亚洲精品大片www| 首页综合国产亚洲丝袜| 国产在线麻豆精品观看| 色狠狠桃花综合| 2019国产精品| 亚洲欧美综合色| 蜜桃传媒麻豆第一区在线观看| 国产成人精品免费| 欧美性色黄大片手机版| 国产亚洲精品超碰| 亚洲在线观看免费视频| 国产一区二区在线影院| 欧美亚洲国产bt| 久久精品亚洲乱码伦伦中文| 亚洲一区二区三区自拍| 高清视频一区二区| 午夜精彩视频在线观看不卡| 久久综合99re88久久爱| 亚洲国产综合91精品麻豆| 国产成人午夜99999| 91精品福利在线一区二区三区| 中文字幕一区二区三区四区不卡| 免费看日韩精品| 欧美精品丝袜久久久中文字幕| 中文字幕中文乱码欧美一区二区| 欧美a级理论片| 欧美精品视频www在线观看| 亚洲乱码一区二区三区在线观看| 国产精品一区专区| 日韩欧美的一区二区| 午夜精品福利一区二区蜜股av | 国产精品1区2区3区| 日韩视频一区二区在线观看| 亚洲精品亚洲人成人网| 99精品在线观看视频| 中文成人综合网| 丁香一区二区三区| 国产日韩精品一区二区浪潮av | 免费观看成人av| 欧美一级黄色录像| 日本va欧美va瓶| 日韩亚洲国产中文字幕欧美| 日韩国产在线一| 欧美一区二区精美| 久久精品国产免费看久久精品| 337p亚洲精品色噜噜| 蜜桃一区二区三区在线观看| 3d成人h动漫网站入口| 伦理电影国产精品| 久久久久久麻豆| a级高清视频欧美日韩| 亚洲视频资源在线| 欧美三级韩国三级日本一级| 日韩精品久久理论片| 欧美成人性战久久| 粉嫩aⅴ一区二区三区四区五区| √…a在线天堂一区| 一本久久综合亚洲鲁鲁五月天| 亚洲国产精品久久人人爱蜜臀| 在线播放一区二区三区| 国产原创一区二区三区| 亚洲精品欧美专区| 国产一区二区网址| 日韩一区在线免费观看| 日本韩国一区二区三区视频| 视频在线观看一区| 国产婷婷色一区二区三区四区| 综合av第一页| 亚洲精品国产品国语在线app| 亚洲欧美日韩在线| 亚洲欧美日韩综合aⅴ视频| 亚洲精品国产精华液| 亚洲一二三级电影| 日本中文字幕一区二区视频| 久久er精品视频| 波多野结衣中文字幕一区 | 欧美午夜精品一区二区三区| 欧美日韩国产综合久久| 精品99999| 亚洲一区二区三区影院| 另类小说综合欧美亚洲| 色综合久久九月婷婷色综合| 91精品国产综合久久久久久久| 国产欧美日本一区二区三区| 亚洲综合视频在线| 国产在线播放一区| 在线播放国产精品二区一二区四区| 久久久精品免费免费| 亚洲大片精品永久免费| 成人免费观看视频| 欧美成人精品1314www| 亚洲女子a中天字幕| 国产精品456| 欧美大白屁股肥臀xxxxxx| 亚洲三级理论片| 国模少妇一区二区三区| 欧美在线|欧美| 亚洲欧美日韩国产综合| 国产精品一区不卡| 欧美成人r级一区二区三区| 日本在线播放一区二区三区| 色综合久久天天| 国产精品国产精品国产专区不蜜 | 午夜精品aaa| 欧美视频一区二区三区| 欧美激情一区二区三区不卡| 狠狠色综合播放一区二区| 91精品国产丝袜白色高跟鞋| 亚洲成av人片在线观看无码| 91色|porny| 亚洲一区在线视频| 欧美性大战xxxxx久久久| 亚洲一区在线视频| 欧美一区二区三区在线观看| 日产国产高清一区二区三区| 精品欧美黑人一区二区三区| 九色|91porny| 国产精品美女久久久久av爽李琼|