parameterservice.html

来自「数据挖掘方面最新软件」· HTML 代码 · 共 692 行 · 第 1/2 页

HTML
692
字号
<PRE>public <B>ParameterService</B>()</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"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="ensureRapidMinerHomeSet()"><!-- --></A><H3>ensureRapidMinerHomeSet</H3><PRE>public static void <B>ensureRapidMinerHomeSet</B>()</PRE><DL><DD>Tries to find the rapidminer.home directory if the property is not set and sets it.<P><DD><DL></DL></DD></DL><HR><A NAME="init()"><!-- --></A><H3>init</H3><PRE>public static void <B>init</B>()</PRE><DL><DD>Invokes <A HREF="../../../com/rapidminer/tools/ParameterService.html#init(java.io.InputStream, boolean)"><CODE>init(InputStream, boolean)</CODE></A> with a null stream meaning that  the core operators.xml is loaded and with addWekaOperators = true.  Registers the operators from the stream and reads the rc file.<P><DD><DL></DL></DD></DL><HR><A NAME="init(java.io.InputStream, boolean)"><!-- --></A><H3>init</H3><PRE>public static void <B>init</B>(java.io.InputStream&nbsp;operatorsXMLStream,                        boolean&nbsp;addWekaOperators)</PRE><DL><DD>Registers the operators from the stream and reads the rc file. If the stream  is null this method tries to read the core operators.xml.<P><DD><DL></DL></DD></DL><HR><A NAME="init(java.io.InputStream, java.io.InputStream, boolean)"><!-- --></A><H3>init</H3><PRE>public static void <B>init</B>(java.io.InputStream&nbsp;operatorsXMLStream,                        java.io.InputStream&nbsp;additionalXMLStream,                        boolean&nbsp;addWekaOperators)</PRE><DL><DD>Registers the operators from the stream and reads the rc file. If the stream  is null this method tries to read the core operators.xml.<P><DD><DL></DL></DD></DL><HR><A NAME="getUserWorkspace()"><!-- --></A><H3>getUserWorkspace</H3><PRE>public static java.io.File <B>getUserWorkspace</B>()</PRE><DL><DD>Returns the user workspace (if one was set). Might return null if no workspace  definition can be found. This method also creates the workspace directory if  the file does not exist.<P><DD><DL></DL></DD></DL><HR><A NAME="setUserWorkspace(java.io.File)"><!-- --></A><H3>setUserWorkspace</H3><PRE>public static final void <B>setUserWorkspace</B>(java.io.File&nbsp;workspace)</PRE><DL><DD>Sets the current user workspace to this file. If the directory does not exist  it will be created. The absolute path is also written into the corresponding  user config file. Additionally, the favorites for the file chooser   will be extended by the workspace and sample links if appropriate.<P><DD><DL></DL></DD></DL><HR><A NAME="copyMainUserConfigFile(com.rapidminer.gui.tools.VersionNumber, com.rapidminer.gui.tools.VersionNumber)"><!-- --></A><H3>copyMainUserConfigFile</H3><PRE>public static void <B>copyMainUserConfigFile</B>(<A HREF="../../../com/rapidminer/gui/tools/VersionNumber.html" title="class in com.rapidminer.gui.tools">VersionNumber</A>&nbsp;oldVersion,                                          <A HREF="../../../com/rapidminer/gui/tools/VersionNumber.html" title="class in com.rapidminer.gui.tools">VersionNumber</A>&nbsp;newVersion)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="writePropertyIntoMainUserConfigFile(java.lang.String, java.lang.String)"><!-- --></A><H3>writePropertyIntoMainUserConfigFile</H3><PRE>public static void <B>writePropertyIntoMainUserConfigFile</B>(java.lang.String&nbsp;key,                                                       java.lang.String&nbsp;value)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getMainUserConfigFile()"><!-- --></A><H3>getMainUserConfigFile</H3><PRE>public static java.io.File <B>getMainUserConfigFile</B>()</PRE><DL><DD>Returns the main user configuration file containing the version number and the OS.<P><DD><DL></DL></DD></DL><HR><A NAME="getUserConfigFile(java.lang.String)"><!-- --></A><H3>getUserConfigFile</H3><PRE>public static java.io.File <B>getUserConfigFile</B>(java.lang.String&nbsp;name)</PRE><DL><DD>Returns the configuration file in the user dir .rapidminer and automatically adds   the current version number if it is a rc file.<P><DD><DL></DL></DD></DL><HR><A NAME="getVersionedUserConfigFile(com.rapidminer.gui.tools.VersionNumber, java.lang.String)"><!-- --></A><H3>getVersionedUserConfigFile</H3><PRE>public static java.io.File <B>getVersionedUserConfigFile</B>(<A HREF="../../../com/rapidminer/gui/tools/VersionNumber.html" title="class in com.rapidminer.gui.tools">VersionNumber</A>&nbsp;versionNumber,                                                      java.lang.String&nbsp;name)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getUserRapidMinerDir()"><!-- --></A><H3>getUserRapidMinerDir</H3><PRE>public static java.io.File <B>getUserRapidMinerDir</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getRapidMinerHome()"><!-- --></A><H3>getRapidMinerHome</H3><PRE>public static java.io.File <B>getRapidMinerHome</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getConfigFile(java.lang.String)"><!-- --></A><H3>getConfigFile</H3><PRE>public static java.io.File <B>getConfigFile</B>(java.lang.String&nbsp;name)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getLibraryFile(java.lang.String)"><!-- --></A><H3>getLibraryFile</H3><PRE>public static java.io.File <B>getLibraryFile</B>(java.lang.String&nbsp;name)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getSampleFile(java.lang.String)"><!-- --></A><H3>getSampleFile</H3><PRE>public static java.io.File <B>getSampleFile</B>(java.lang.String&nbsp;filename)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getUserSampleFile(java.lang.String)"><!-- --></A><H3>getUserSampleFile</H3><PRE>public static java.io.File <B>getUserSampleFile</B>(java.lang.String&nbsp;filename)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getSourceFile(java.lang.String)"><!-- --></A><H3>getSourceFile</H3><PRE>public static java.io.File <B>getSourceFile</B>(java.lang.String&nbsp;filename)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getPluginDir()"><!-- --></A><H3>getPluginDir</H3><PRE>public static java.io.File <B>getPluginDir</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="getSampleDir()"><!-- --></A><H3>getSampleDir</H3><PRE>public static java.io.File <B>getSampleDir</B>()</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="booleanValue(java.lang.String, boolean)"><!-- --></A><H3>booleanValue</H3><PRE>public static boolean <B>booleanValue</B>(java.lang.String&nbsp;value,                                   boolean&nbsp;deflt)</PRE><DL><DD>Returns true if value is "true", "yes", "y" or "on". Returns false if value is "false", "no", "n" or "off". Otherwise returns <tt>deflt</tt>.<P><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>&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/ParameterService.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><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=114160&amp;type=2" width="125" height="37" border="0" alt="SourceForge.net Logo" /></a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../com/rapidminer/tools/OutputStreamMultiplier.html" title="class in com.rapidminer.tools"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../com/rapidminer/tools/RandomGenerator.html" title="class in com.rapidminer.tools"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?com/rapidminer/tools/ParameterService.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ParameterService.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;FIELD&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;FIELD&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><i>Copyright &#169; 2001-2008 by <a href="http://rapid-i.com" target="_blank">Rapid-I</a></i></BODY></HTML>

⌨️ 快捷键说明

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