|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.ResultService
public class ResultService
Some statical methods to write results in a file. The class must be set up properly before you can use these methods. Therefore the destination file is read from the global part of the process configuration file.
| Constructor Summary | |
|---|---|
ResultService()
|
|
| Method Summary | |
|---|---|
static void |
close()
Closes the stream. |
static void |
init(java.io.PrintWriter outWriter)
Initializes the ResultService. |
static void |
init(Process process)
Initializes the ResultService. |
static void |
init(java.lang.String filename,
Process process)
Initializes the ResultService. |
static void |
logResult(ResultObject resultObject)
Writes the result string from the given result object in the result file. |
static void |
logResult(ResultObject resultObject,
java.io.PrintWriter localOut)
Writes the result string from the given result object in the result file. |
static void |
logResult(java.lang.String result)
Writes the string in the general result file. |
static void |
logResult(java.lang.String result,
java.io.PrintWriter localOut)
Writes the string in the given stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultService()
| Method Detail |
|---|
public static void init(java.lang.String filename,
Process process)
filename - destination file.process - the process which is used to resolve the filenamepublic static void init(java.io.PrintWriter outWriter)
outWriter - writer to write the results to.public static void init(Process process)
public static void close()
public static void logResult(java.lang.String result)
public static void logResult(java.lang.String result,
java.io.PrintWriter localOut)
public static void logResult(ResultObject resultObject)
public static void logResult(ResultObject resultObject,
java.io.PrintWriter localOut)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||