?? contentadvertisement.html
字號:
<A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Element.html" title="class or interface in net.jxta.document">Element</A> el)</PRE><DL><DD>Appends this advertisement document to the specified structured document element.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getName()"><!-- --></A><H3>getName</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE><DL><DD>Returns the name of the content.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getContentId()"><!-- --></A><H3>getContentId</H3><PRE>public abstract <A HREF="../../../net/jxta/share/ContentId.html" title="interface in net.jxta.share">ContentId</A> <B>getContentId</B>()</PRE><DL><DD>Returns the id of the content.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getLength()"><!-- --></A><H3>getLength</H3><PRE>public abstract long <B>getLength</B>()</PRE><DL><DD>Returns the length of the content, or -1 if not specified.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getType()"><!-- --></A><H3>getType</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getType</B>()</PRE><DL><DD>Returns the mime type of the content, or null if not specified.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getDescription</B>()</PRE><DL><DD>Returns the description of the content, or null if not specified.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getMetadata()"><!-- --></A><H3>getMetadata</H3><PRE>public abstract <A HREF="../../../net/jxta/share/metadata/ContentMetadata.html" title="class in net.jxta.share.metadata">ContentMetadata</A>[] <B>getMetadata</B>()</PRE><DL><DD>Returns the metadata describing this content, or null if not specified.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getAddress()"><!-- --></A><H3>getAddress</H3><PRE>public abstract <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getAddress</B>()</PRE><DL><DD>Returns the address of the CMS service that is sharing the content, or null if not specified.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setAddress(java.lang.String)"><!-- --></A><H3>setAddress</H3><PRE>public abstract void <B>setAddress</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> address)</PRE><DL><DD>Returns the address of the CMS service that is sharing the content, or null if not specified. This address should be an endpoint address in the following format: <code>jxta://[peer id]/CMS/[peergroup name]</code> , specifying the id of the peer and name of peergroup in which the CMS service that is sharing the content is running.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getDocument(net.jxta.document.MimeMediaType)"><!-- --></A><H3>getDocument</H3><PRE>public abstract <A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Document.html" title="class or interface in net.jxta.document">Document</A> <B>getDocument</B>(<A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/MimeMediaType.html" title="class or interface in net.jxta.document">MimeMediaType</A> mtype)</PRE><DL><DD>Returns the document representation of this advertisement.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Advertisement.html#getDocument(net.jxta.document.MimeMediaType)" title="class or interface in net.jxta.document">getDocument</A></CODE> in class <CODE><A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Advertisement.html" title="class or interface in net.jxta.document">Advertisement</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getID()"><!-- --></A><H3>getID</H3><PRE>public <A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/id/ID.html" title="class or interface in net.jxta.id">ID</A> <B>getID</B>()</PRE><DL><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Advertisement.html#getID()" title="class or interface in net.jxta.document">getID</A></CODE> in class <CODE><A HREF="http://platform.jxta.org/nonav/java/api/net/jxta/document/Advertisement.html" title="class or interface in net.jxta.document">Advertisement</A></CODE></DL></DD><DD><DL></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="class-use/ContentAdvertisement.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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>JXTA Java SE CMS</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../net/jxta/share/Content.html" title="interface in net.jxta.share"><B>PREV CLASS</B></A> <A HREF="../../../net/jxta/share/ContentAdvertisementImpl.html" title="class in net.jxta.share"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?net/jxta/share/ContentAdvertisement.html" target="_top"><B>FRAMES</B></A> <A HREF="ContentAdvertisement.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="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><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -