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

📄 tools.html

📁 数据挖掘方面最新软件
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<P><DD><DL></DL></DD></DL><HR><A NAME="formatIntegerIfPossible(double, int)"><!-- --></A><H3>formatIntegerIfPossible</H3><PRE>public static java.lang.String <B>formatIntegerIfPossible</B>(double&nbsp;value,                                                       int&nbsp;numberOfDigits)</PRE><DL><DD>Returns a number string with no fraction digits if possible. Otherwise the given   number of digits will be returned.<P><DD><DL></DL></DD></DL><HR><A NAME="formatTime(java.util.Date)"><!-- --></A><H3>formatTime</H3><PRE>public static java.lang.String <B>formatTime</B>(java.util.Date&nbsp;date)</PRE><DL><DD>Format date as a short time string.<P><DD><DL></DL></DD></DL><HR><A NAME="formatDate(java.util.Date)"><!-- --></A><H3>formatDate</H3><PRE>public static java.lang.String <B>formatDate</B>(java.util.Date&nbsp;date)</PRE><DL><DD>Format date as a short time string.<P><DD><DL></DL></DD></DL><HR><A NAME="formatDateTime(java.util.Date)"><!-- --></A><H3>formatDateTime</H3><PRE>public static java.lang.String <B>formatDateTime</B>(java.util.Date&nbsp;date)</PRE><DL><DD>Format date as a short time string.<P><DD><DL></DL></DD></DL><HR><A NAME="ordinalNumber(int)"><!-- --></A><H3>ordinalNumber</H3><PRE>public static java.lang.String <B>ordinalNumber</B>(int&nbsp;n)</PRE><DL><DD>Returns the name for an ordinal number.<P><DD><DL></DL></DD></DL><HR><A NAME="isEqual(double, double)"><!-- --></A><H3>isEqual</H3><PRE>public static boolean <B>isEqual</B>(double&nbsp;d1,                              double&nbsp;d2)</PRE><DL><DD>Returns true if the difference between both numbers is smaller than IS_ZERO.<P><DD><DL></DL></DD></DL><HR><A NAME="isZero(double)"><!-- --></A><H3>isZero</H3><PRE>public static boolean <B>isZero</B>(double&nbsp;d)</PRE><DL><DD>Returns <A HREF="../../../com/rapidminer/tools/Tools.html#isEqual(double, double)"><CODE>isEqual(double, double)</CODE></A> for d and 0.<P><DD><DL></DL></DD></DL><HR><A NAME="isNotEqual(double, double)"><!-- --></A><H3>isNotEqual</H3><PRE>public static boolean <B>isNotEqual</B>(double&nbsp;d1,                                 double&nbsp;d2)</PRE><DL><DD>Returns no <A HREF="../../../com/rapidminer/tools/Tools.html#isEqual(double, double)"><CODE>isEqual(double, double)</CODE></A>.<P><DD><DL></DL></DD></DL><HR><A NAME="isGreater(double, double)"><!-- --></A><H3>isGreater</H3><PRE>public static boolean <B>isGreater</B>(double&nbsp;d1,                                double&nbsp;d2)</PRE><DL><DD>Returns true if the d1 is greater than d2 and they are not equal.<P><DD><DL></DL></DD></DL><HR><A NAME="isGreaterEqual(double, double)"><!-- --></A><H3>isGreaterEqual</H3><PRE>public static boolean <B>isGreaterEqual</B>(double&nbsp;d1,                                     double&nbsp;d2)</PRE><DL><DD>Returns true if the d1 is greater than d1 or both are equal.<P><DD><DL></DL></DD></DL><HR><A NAME="isLess(double, double)"><!-- --></A><H3>isLess</H3><PRE>public static boolean <B>isLess</B>(double&nbsp;d1,                             double&nbsp;d2)</PRE><DL><DD>Returns true if the d1 is less than d2 and they are not equal.<P><DD><DL></DL></DD></DL><HR><A NAME="isLessEqual(double, double)"><!-- --></A><H3>isLessEqual</H3><PRE>public static boolean <B>isLessEqual</B>(double&nbsp;d1,                                  double&nbsp;d2)</PRE><DL><DD>Returns true if the d1 is less than d1 or both are equal.<P><DD><DL></DL></DD></DL><HR><A NAME="getLineSeparator()"><!-- --></A><H3>getLineSeparator</H3><PRE>public static java.lang.String <B>getLineSeparator</B>()</PRE><DL><DD>Returns the correct line separator for the current operating system.<P><DD><DL></DL></DD></DL><HR><A NAME="getLineSeparators(int)"><!-- --></A><H3>getLineSeparators</H3><PRE>public static java.lang.String <B>getLineSeparators</B>(int&nbsp;number)</PRE><DL><DD>Returns the correct line separator for the current operating system concatenated   for the given number of times.<P><DD><DL></DL></DD></DL><HR><A NAME="transformAllLineSeparators(java.lang.String)"><!-- --></A><H3>transformAllLineSeparators</H3><PRE>public static java.lang.String <B>transformAllLineSeparators</B>(java.lang.String&nbsp;text)</PRE><DL><DD>Replaces all possible line feed character combinations by &quot;\n&quot;. This  might be important for GUI purposes like tool tip texts which do not support  carriage return combinations.<P><DD><DL></DL></DD></DL><HR><A NAME="removeAllLineSeparators(java.lang.String)"><!-- --></A><H3>removeAllLineSeparators</H3><PRE>public static java.lang.String <B>removeAllLineSeparators</B>(java.lang.String&nbsp;text)</PRE><DL><DD>Removes all possible line feed character combinations. This  might be important for GUI purposes like tool tip texts which do not support  carriage return combinations.<P><DD><DL></DL></DD></DL><HR><A NAME="classNameWOPackage(java.lang.Class)"><!-- --></A><H3>classNameWOPackage</H3><PRE>public static java.lang.String <B>classNameWOPackage</B>(java.lang.Class&nbsp;c)</PRE><DL><DD>Returns the class name of the given class without the package information.<P><DD><DL></DL></DD></DL><HR><A NAME="readOutput(java.io.BufferedReader)"><!-- --></A><H3>readOutput</H3><PRE>public static java.lang.String <B>readOutput</B>(java.io.BufferedReader&nbsp;in)                                   throws java.io.IOException</PRE><DL><DD>Reads the output of the reader and delivers it as string.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="getFile(java.io.File, java.lang.String)"><!-- --></A><H3>getFile</H3><PRE>public static java.io.File <B>getFile</B>(java.io.File&nbsp;parent,                                   java.lang.String&nbsp;name)</PRE><DL><DD>Creates a file relative to the given parent if name is not an absolute file name. Returns null if name is null.<P><DD><DL></DL></DD></DL><HR><A NAME="getReader(java.io.File, java.nio.charset.Charset)"><!-- --></A><H3>getReader</H3><PRE>public static java.io.BufferedReader <B>getReader</B>(java.io.File&nbsp;file,                                               java.nio.charset.Charset&nbsp;encoding)                                        throws java.io.IOException</PRE><DL><DD>This method checks if the given file is a Zip file containing one entry (in case of file extension .zip).   If this is the case, a reader based on a ZipInputStream for this entry is returned.   Otherwise, this method checks if the file has the extension .gz. If this applies, a gzipped  stream reader is returned. Otherwise, this method just returns a BufferedReader  for the given file (file was not zipped at all).<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="getDefaultEncoding()"><!-- --></A><H3>getDefaultEncoding</H3><PRE>public static java.nio.charset.Charset <B>getDefaultEncoding</B>()</PRE><DL><DD>This method tries to identify the encoding if a GUI is running and a process  is defined. In this case, the encoding is taken from the process.   Otherwise, the method tries to identify the encoding via the property  <A HREF="../../../com/rapidminer/RapidMiner.html#PROPERTY_RAPIDMINER_GENERAL_DEFAULT_ENCODING"><CODE>RapidMiner.PROPERTY_RAPIDMINER_GENERAL_DEFAULT_ENCODING</CODE></A>. If this is not   possible, this method just returns the default system encoding.<P><DD><DL></DL></DD></DL><HR><A NAME="mkdir(java.io.File)"><!-- --></A><H3>mkdir</H3><PRE>public static boolean <B>mkdir</B>(java.io.File&nbsp;dir)</PRE><DL><DD>Creates a directory including parent directories.<P><DD><DL><DT><B>Returns:</B><DD>true, if operation was successful.</DL></DD></DL><HR><A NAME="getRelativePath(java.io.File, java.io.File)"><!-- --></A><H3>getRelativePath</H3><PRE>public static java.lang.String <B>getRelativePath</B>(java.io.File&nbsp;firstFile,                                               java.io.File&nbsp;secondFile)                                        throws java.io.IOException</PRE><DL><DD>Returns the relative path of the first file resolved against the second.<P><DD><DL><DT><B>Throws:</B><DD><CODE>java.io.IOException</CODE></DL></DD></DL><HR><A NAME="waitForProcess(com.rapidminer.operator.Operator, java.lang.Process, java.lang.String)"><!-- --></A><H3>waitForProcess</H3><PRE>public static void <B>waitForProcess</B>(<A HREF="../../../com/rapidminer/operator/Operator.html" title="class in com.rapidminer.operator">Operator</A>&nbsp;operator,                                  java.lang.Process&nbsp;process,                                  java.lang.String&nbsp;name)                           throws <A HREF="../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></PRE><DL><DD>Waits for process to die and writes log messages. Terminates if exit value is not 0.<P><DD><DL><DT><B>Throws:</B><DD><CODE><A HREF="../../../com/rapidminer/operator/OperatorException.html" title="class in com.rapidminer.operator">OperatorException</A></CODE></DL></DD></DL><HR><A NAME="sendEmail(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>sendEmail</H3><PRE>public static void <B>sendEmail</B>(java.lang.String&nbsp;address,                             java.lang.String&nbsp;subject,                             java.lang.String&nbsp;content)</PRE><DL><DD>Sends a mail to the given address, using the specified subject and contents. Subject must contain no whitespace!

⌨️ 快捷键说明

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