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

📄 nullconfigurator.html

📁 jxta的api库
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<HR><A NAME="propertiesFileName"><!-- --></A><H3>propertiesFileName</H3><PRE>protected static final java.lang.String <B>propertiesFileName</B></PRE><DL><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#net.jxta.impl.peergroup.NullConfigurator.propertiesFileName">Constant Field Values</A></DL></DL><HR><A NAME="jxtaHomeDir"><!-- --></A><H3>jxtaHomeDir</H3><PRE>protected java.io.File <B>jxtaHomeDir</B></PRE><DL><DL></DL></DL><HR><A NAME="configFile"><!-- --></A><H3>configFile</H3><PRE>protected java.io.File <B>configFile</B></PRE><DL><DL></DL></DL><HR><A NAME="propertiesFile"><!-- --></A><H3>propertiesFile</H3><PRE>protected java.io.File <B>propertiesFile</B></PRE><DL><DL></DL></DL><HR><A NAME="advertisement"><!-- --></A><H3>advertisement</H3><PRE>protected <A HREF="../../../../net/jxta/impl/protocol/PlatformConfig.html" title="class in net.jxta.impl.protocol">PlatformConfig</A> <B>advertisement</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="NullConfigurator()"><!-- --></A><H3>NullConfigurator</H3><PRE>public <B>NullConfigurator</B>()                 throws <A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></PRE><DL><DD>Constructor for the DefaultConfigurator object<P></DL><HR><A NAME="NullConfigurator(net.jxta.impl.protocol.PlatformConfig)"><!-- --></A><H3>NullConfigurator</H3><PRE>public <B>NullConfigurator</B>(<A HREF="../../../../net/jxta/impl/protocol/PlatformConfig.html" title="class in net.jxta.impl.protocol">PlatformConfig</A>&nbsp;config)                 throws <A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getPlatformConfig()"><!-- --></A><H3>getPlatformConfig</H3><PRE>public <A HREF="../../../../net/jxta/impl/protocol/PlatformConfig.html" title="class in net.jxta.impl.protocol">PlatformConfig</A> <B>getPlatformConfig</B>()</PRE><DL><DD>Returns the advertisement.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html#getPlatformConfig()">getPlatformConfig</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html" title="interface in net.jxta.peergroup">Configurator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>PAdvertisment the advertisement.</DL></DD></DL><HR><A NAME="setPlatformConfig(net.jxta.impl.protocol.PlatformConfig)"><!-- --></A><H3>setPlatformConfig</H3><PRE>public void <B>setPlatformConfig</B>(<A HREF="../../../../net/jxta/impl/protocol/PlatformConfig.html" title="class in net.jxta.impl.protocol">PlatformConfig</A>&nbsp;config)</PRE><DL><DD>Set the config advertisement.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html#setPlatformConfig(net.jxta.impl.protocol.PlatformConfig)">setPlatformConfig</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html" title="interface in net.jxta.peergroup">Configurator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>config</CODE> - <DT><B>Returns:</B><DD>PeerAdvertisment the advertisement.</DL></DD></DL><HR><A NAME="save()"><!-- --></A><H3>save</H3><PRE>public boolean <B>save</B>()             throws <A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></PRE><DL><DD>Save the advertisement in the standard config file.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html#save()">save</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html" title="interface in net.jxta.peergroup">Configurator</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the persist status<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></CODE></DL></DD></DL><HR><A NAME="save(java.io.File)"><!-- --></A><H3>save</H3><PRE>public boolean <B>save</B>(java.io.File&nbsp;f)             throws <A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html" title="interface in net.jxta.peergroup">Configurator</A></CODE></B></DD><DD>Persist the resulting <CODE>net.jxta.iimpl.protocol.PlatformConfig</CODE> to the specified <CODE>location</CODE>.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html#save(java.io.File)">save</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html" title="interface in net.jxta.peergroup">Configurator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>f</CODE> - <DT><B>Returns:</B><DD>the persist status<DT><B>Throws:</B><DD><CODE><A HREF="../../../../net/jxta/exception/ConfiguratorException.html" title="class in net.jxta.exception">ConfiguratorException</A></CODE></DL></DD></DL><HR><A NAME="load()"><!-- --></A><H3>load</H3><PRE>public void <B>load</B>()</PRE><DL><DD>Load the advertisement from the standard config file.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setReconfigure(boolean)"><!-- --></A><H3>setReconfigure</H3><PRE>public void <B>setReconfigure</B>(boolean&nbsp;reconfigure)</PRE><DL><DD>Forces a manual reconf the next time the configurator is invoked.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html#setReconfigure(boolean)">setReconfigure</A></CODE> in interface <CODE><A HREF="../../../../net/jxta/peergroup/Configurator.html" title="interface in net.jxta.peergroup">Configurator</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>reconfigure</CODE> - </DL></DD></DL><HR><A NAME="isReconfigure()"><!-- --></A><H3>isReconfigure</H3><PRE>public boolean <B>isReconfigure</B>()</PRE><DL><DD>Check if a manual reconf has been forced.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>boolean true if a manual reconf is being forced.</DL></DD></DL><HR><A NAME="adjustLog4JPriority()"><!-- --></A><H3>adjustLog4JPriority</H3><PRE>protected void <B>adjustLog4JPriority</B>()</PRE><DL><DD>Adjust the log4j priority based on the user's configuration file. If the configuration is not set or the value is "user default", then don't change it.<P><DD><DL></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=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>&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="class-use/NullConfigurator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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>JXTA J2SE</EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../net/jxta/impl/peergroup/GenericPeerGroup.html" title="class in net.jxta.impl.peergroup"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../net/jxta/impl/peergroup/PeerGroupInterface.html" title="class in net.jxta.impl.peergroup"><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="NullConfigurator.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&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;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -