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

📄 contact.html

📁 J2ME PDA开发PIM的技术规范,可使应用程序查看手机本地联系人列表, 本地文件
💻 HTML
📖 第 1 页 / 共 5 页
字号:
						telephone number.</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#TITLE">TITLE</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying 
						the job title for a 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>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Contact.html#UID">UID</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying a 
						unique ID for a 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>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Contact.html#URL">URL</A></B></CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Field specifying 
						the uniform resource locator for a Contact.</TD>
				</TR>
			</TABLE>
			&nbsp;<A NAME="fields_inherited_from_class_javax.microedition.pim.PIMItem"><!-- --></A>
			<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
				<TR BGCOLOR="#eeeeff" CLASS="TableSubHeadingColor">
					<TD><B>Fields inherited from interface javax.microedition.pim.<A HREF="../../../javax/microedition/pim/PIMItem.html">PIMItem</A></B></TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD><CODE><A HREF="../../../javax/microedition/pim/PIMItem.html#ATTR_NONE">ATTR_NONE</A>,
							<A HREF="../../../javax/microedition/pim/PIMItem.html#BINARY">BINARY</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#BOOLEAN">
								BOOLEAN</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#DATE">DATE</A>,
							<A HREF="../../../javax/microedition/pim/PIMItem.html#EXTENDED_ATTRIBUTE_MIN_VALUE">
								EXTENDED_ATTRIBUTE_MIN_VALUE</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#EXTENDED_FIELD_MIN_VALUE">
								EXTENDED_FIELD_MIN_VALUE</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#INT">
								INT</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#STRING">STRING</A>,
							<A HREF="../../../javax/microedition/pim/PIMItem.html#STRING_ARRAY">STRING_ARRAY</A></CODE></TD>
				</TR>
			</TABLE>
			&nbsp; 
			<!-- ======== CONSTRUCTOR SUMMARY ======== -->
			<!-- ========== METHOD SUMMARY =========== -->
			<A NAME="method_summary"><!-- --></A>
			<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
				<TR BGCOLOR="#ccccff" CLASS="TableHeadingColor">
					<TD COLSPAN="2"><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>&nbsp;int</CODE></FONT></TD>
					<TD><CODE><B><A HREF="../../../javax/microedition/pim/Contact.html#getPreferredIndex(int)">getPreferredIndex</A></B>(int&nbsp;field)</CODE>
						<BR>
						&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the index 
						of the value marked with the attribute ATTR_PREFERRED for the given field.</TD>
				</TR>
			</TABLE>
			&nbsp;<A NAME="methods_inherited_from_class_javax.microedition.pim.PIMItem"><!-- --></A>
			<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
				<TR BGCOLOR="#eeeeff" CLASS="TableSubHeadingColor">
					<TD><B>Methods inherited from interface javax.microedition.pim.<A HREF="../../../javax/microedition/pim/PIMItem.html">PIMItem</A></B></TD>
				</TR>
				<TR BGCOLOR="white" CLASS="TableRowColor">
					<TD><CODE><A HREF="../../../javax/microedition/pim/PIMItem.html#addBinary(int, int, byte[], int, int)">addBinary</A>,
							<A HREF="../../../javax/microedition/pim/PIMItem.html#addBoolean(int, int, boolean)">
								addBoolean</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addDate(int, int, long)">
								addDate</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addInt(int, int, int)">
								addInt</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addString(int, int, java.lang.String)">
								addString</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addStringArray(int, int, java.lang.String[])">
								addStringArray</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#addToCategory(java.lang.String)">
								addToCategory</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#commit()">
								commit</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#countValues(int)">
								countValues</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getAttributes(int, int)">
								getAttributes</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getBinary(int, int)">
								getBinary</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getBoolean(int, int)">
								getBoolean</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getCategories()">
								getCategories</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getDate(int, int)">
								getDate</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getFields()">
								getFields</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getInt(int, int)">
								getInt</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getPIMList()">
								getPIMList</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getString(int, int)">
								getString</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#getStringArray(int, int)">
								getStringArray</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#isModified()">
								isModified</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#maxCategories()">
								maxCategories</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#removeFromCategory(java.lang.String)">
								removeFromCategory</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#removeValue(int, int)">
								removeValue</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setBinary(int, int, int, byte[], int, int)">
								setBinary</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setBoolean(int, int, int, boolean)">
								setBoolean</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setDate(int, int, int, long)">
								setDate</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setInt(int, int, int, int)">
								setInt</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setString(int, int, int, java.lang.String)">
								setString</A>, <A HREF="../../../javax/microedition/pim/PIMItem.html#setStringArray(int, int, int, java.lang.String[])">
								setStringArray</A></CODE></TD>
				</TR>
			</TABLE>
		&nbsp;
		<P>
			<!-- ============ FIELD DETAIL =========== -->
			<A NAME="field_detail"><!-- --></A>
			<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
				<TR BGCOLOR="#ccccff" CLASS="TableHeadingColor">
					<TD COLSPAN="1"><FONT SIZE="+2"> <B>Field Detail</B></FONT></TD>
				</TR>
			</TABLE>
			<A NAME="ADDR"><!-- --></A><H3>
				ADDR</H3>
			<PRE>
public static final int <B>ADDR</B></PRE>
			<DL>
				<DD>
					Field specifying an address for this Contact. Data for this field is of 
					STRING_ARRAY type.
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.ADDR">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="BIRTHDAY"><!-- --></A><H3>
				BIRTHDAY</H3>
			<PRE>
public static final int <B>BIRTHDAY</B></PRE>
			<DL>
				<DD>
					Field for the birthday of the Contact. Data for this field is expressed in the 
					same long value format as java.util.Date, which is milliseconds since the epoch 
					(00:00:00 GMT, January 1, 1970).
					<P></P>
					<P>
						Note that the value provided may be rounded-down by an implementation due to 
						platform restrictions. For example, should a native Contact database only 
						support contact date values with granularity in terms of seconds, then the 
						provided date value is rounded down to a date time with a full second.
					</P>
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.BIRTHDAY">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="CLASS"><!-- --></A><H3>
				CLASS</H3>
			<PRE>
public static final int <B>CLASS</B></PRE>
			<DL>
				<DD>
					Field specifying the desired access class for this contact. Data associated 
					with this field is of int type, and can be one of the values <A HREF="../../../javax/microedition/pim/Contact.html#CLASS_PRIVATE">
						<CODE>CLASS_PRIVATE</CODE></A>, <A HREF="../../../javax/microedition/pim/Contact.html#CLASS_PUBLIC">
						<CODE>CLASS_PUBLIC</CODE></A>, or <A HREF="../../../javax/microedition/pim/Contact.html#CLASS_CONFIDENTIAL">
						<CODE>CLASS_CONFIDENTIAL</CODE></A>.
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.CLASS">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="EMAIL"><!-- --></A><H3>
				EMAIL</H3>
			<PRE>
public static final int <B>EMAIL</B></PRE>
			<DL>
				<DD>
					Field for an e-mail address. Data for this field is of String type.
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.EMAIL">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="FORMATTED_ADDR"><!-- --></A><H3>
				FORMATTED_ADDR</H3>
			<PRE>
public static final int <B>FORMATTED_ADDR</B></PRE>
			<DL>
				<DD>
					Field represents a formatted version of a complete address for the Contact 
					entry. This string is typically a single string containing the complete address 
					separated with CRLF separators. This field is typically present for contact 
					databases that support only one field for a contact's address, or for 
					specifying address label format. Data for this field is of STRING type. For 
					example:<BR>
					"123 Main St. Anytown, CA 99999 USA"
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.FORMATTED_ADDR">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="FORMATTED_NAME"><!-- --></A><H3>
				FORMATTED_NAME</H3>
			<PRE>
public static final int <B>FORMATTED_NAME</B></PRE>
			<DL>
				<DD>
					Field represents a formatted version of a name for the Contact entry. Data for 
					this field is of STRING type. The string data associated with this field 
					conforms to the X.520 Common Name attribute format. For example:<BR>
					"Mr. John Q. Public, Esq."
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.FORMATTED_NAME">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="NAME"><!-- --></A><H3>
				NAME</H3>
			<PRE>
public static final int <B>NAME</B></PRE>
			<DL>
				<DD>
					Field specifying the name for this contact. Data for this field is of 
					STRING_ARRAY type.
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.NAME">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="NICKNAME"><!-- --></A><H3>
				NICKNAME</H3>
			<PRE>
public static final int <B>NICKNAME</B></PRE>
			<DL>
				<DD>
					Field where the data represents a nickname. Data for this field is of STRING 
					type. For example:
					<BR>
					"Copier Man"
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.NICKNAME">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="NOTE"><!-- --></A><H3>
				NOTE</H3>
			<PRE>
public static final int <B>NOTE</B></PRE>
			<DL>
				<DD>
					Field specifying supplemental information or a comment associated with a 
					Contact. Data for this field is of String type. The data associated with this 
					field follows the X.520 Description data format. For example:
					<BR>
					"The fax number is operational 0800 to 1715 EST, Mon-Fri."
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.NOTE">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="ORG"><!-- --></A><H3>
				ORG</H3>
			<PRE>
public static final int <B>ORG</B></PRE>
			<DL>
				<DD>
					Field specifying the organization name or units associated with a Contact. Data 
					for this field is of String type. The data associated with this field is based 
					on the X.520 Organization data format. For example:
					<BR>
					"ABC Inc."
					<P>
						<DL>
							<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.microedition.pim.Contact.ORG">Constant 
										Field Values</A></DD></DL>
				</DD>
			</DL>
			<HR>
			<A NAME="PHOTO"><!-- --></A><H3>
				PHOTO</H3>
			<PRE>
public static final int <B>PHOTO</B></PRE>
			<DL>
				<DD>
					Field specifying a photo for a Contact. Data associated with this field is 
					inline binary. Manipulation of this field may affect data stored in the <code>PHOTO_URL</code>
					field since some implementation may use the same memory for both fields (e.g. 
					one can either have PHOTO or have PHOTO_URL but not both).
					<P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -