📄 platformconfig.html
字号:
</DL><HR><A NAME="setPeerID(net.jxta.peer.PeerID)"><!-- --></A><H3>setPeerID</H3><PRE>public void <B>setPeerID</B>(<A HREF="../../../../net/jxta/peer/PeerID.html" title="class in net.jxta.peer">PeerID</A> pid)</PRE><DL><DD>Sets the id of the peer.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>pid</CODE> - the id of this peer.<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="getID()"><!-- --></A><H3>getID</H3><PRE>public <A HREF="../../../../net/jxta/id/ID.html" title="class in net.jxta.id">ID</A> <B>getID</B>()</PRE><DL><DD>Returns a unique ID for that peer X group intersection. This is for indexing purposes only.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/document/Advertisement.html#getID()">getID</A></CODE> in class <CODE><A HREF="../../../../net/jxta/document/Advertisement.html" title="class in net.jxta.document">Advertisement</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>ID An ID that uniquely identifies the advertisement or ID.nullID if this advertisement is of a type that is not normally indexed.</DL></DD></DL><HR><A NAME="getDescription()"><!-- --></A><H3>getDescription</H3><PRE>public java.lang.String <B>getDescription</B>()</PRE><DL><DD>returns the description<P><DD><DL><DT><B>Returns:</B><DD>String the description</DL></DD></DL><HR><A NAME="setDescription(java.lang.String)"><!-- --></A><H3>setDescription</H3><PRE>public void <B>setDescription</B>(java.lang.String description)</PRE><DL><DD>sets the description<P><DD><DL><DT><B>Parameters:</B><DD><CODE>description</CODE> - the description</DL></DD></DL><HR><A NAME="getDesc()"><!-- --></A><H3>getDesc</H3><PRE>public <A HREF="../../../../net/jxta/document/StructuredDocument.html" title="interface in net.jxta.document">StructuredDocument</A> <B>getDesc</B>()</PRE><DL><DD>returns the description<P><DD><DL><DT><B>Returns:</B><DD>the description<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="setDesc(net.jxta.document.Element)"><!-- --></A><H3>setDesc</H3><PRE>public void <B>setDesc</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A> desc)</PRE><DL><DD>sets the description<P><DD><DL><DT><B>Parameters:</B><DD><CODE>desc</CODE> - the description<DT><B>Since:</B></DT> <DD>JXTA 1.0</DD></DL></DD></DL><HR><A NAME="getDebugLevel()"><!-- --></A><H3>getDebugLevel</H3><PRE>public java.lang.String <B>getDebugLevel</B>()</PRE><DL><DD>returns the debugLevel<P><DD><DL><DT><B>Returns:</B><DD>String the debugLevel</DL></DD></DL><HR><A NAME="setDebugLevel(java.lang.String)"><!-- --></A><H3>setDebugLevel</H3><PRE>public void <B>setDebugLevel</B>(java.lang.String debugLevel)</PRE><DL><DD>sets the debugLevel<P><DD><DL><DT><B>Parameters:</B><DD><CODE>debugLevel</CODE> - the debugLevel</DL></DD></DL><HR><A NAME="handleElement(net.jxta.document.Element)"><!-- --></A><H3>handleElement</H3><PRE>protected boolean <B>handleElement</B>(<A HREF="../../../../net/jxta/document/Element.html" title="interface in net.jxta.document">Element</A> raw)</PRE><DL><DD>Process an individual element from the document during parse. Normally, implementations will allow the base advertisments a chance to handle the element before attempting ot handle the element themselves. ie. <p/><pre><code> protected boolean handleElement( Element elem ) { if ( super.handleElement() ) { // it's been handled. return true; } <i>... handle elements here ...</i> // we don't know how to handle the element return false; } </code></pre><P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/jxta/protocol/ConfigParams.html#handleElement(net.jxta.document.Element)">handleElement</A></CODE> in class <CODE><A HREF="../../../../net/jxta/protocol/ConfigParams.html" title="class in net.jxta.protocol">ConfigParams</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getDocument(net.jxta.document.MimeMediaType)"><!-- --></A><H3>getDocument</H3><PRE>public <A HREF="../../../../net/jxta/document/Document.html" title="interface in net.jxta.document">Document</A> <B>getDocument</B>(<A HREF="../../../../net/jxta/document/MimeMediaType.html" title="class in net.jxta.document">MimeMediaType</A> encodeAs)</PRE><DL><DD>Write advertisement into a document. <code>asMimeType</code> is a mime media-type specification and provides the form of the document which is being requested. Two standard document forms are defined. <code>"text/plain"</code> encodes the document in a "pretty-print" format for human viewing and <code>"text/xml"<code> which provides an XML format. <p/>We don't have any content to add, just build the document instance and return it to implementations that actually do something with it.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../net/jxta/document/ExtendableAdvertisement.html#getDocument(net.jxta.document.MimeMediaType)">getDocument</A></CODE> in class <CODE><A HREF="../../../../net/jxta/document/ExtendableAdvertisement.html" title="class in net.jxta.document">ExtendableAdvertisement</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getIndexFields()"><!-- --></A><H3>getIndexFields</H3><PRE>public final java.lang.String[] <B>getIndexFields</B>()</PRE><DL><DD>returns an array of String fields to index the advertisement on.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/document/Advertisement.html#getIndexFields()">getIndexFields</A></CODE> in class <CODE><A HREF="../../../../net/jxta/document/Advertisement.html" title="class in net.jxta.document">Advertisement</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>String [] attributes to index this advertisement on.</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=3 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/PlatformConfig.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 J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../net/jxta/impl/protocol/PipeResolverMsg.html" title="class in net.jxta.impl.protocol"><B>PREV CLASS</B></A> <A HREF="../../../../net/jxta/impl/protocol/PlatformConfig.Instantiator.html" title="class in net.jxta.impl.protocol"><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> <A HREF="PlatformConfig.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: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#fields_inherited_from_class_net.jxta.protocol.ConfigParams">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: FIELD | <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 + -