public class ResultFormatFactory
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
ResultFormatFactory() |
Modifier and Type | Method and Description |
---|---|
static ResultFormat |
getInstance(ResultFormatType type,
java.io.PrintStream out)
Get the instance of ResultFormat of given type which write the result to out.
|
static ResultFormat |
getInstance(ResultFormatType type,
java.lang.String file)
Get the instance of ResultFormat of given type which writes the result to file
|
public static ResultFormat getInstance(ResultFormatType type, java.lang.String file)
type
- result format typefile
- target filepublic static ResultFormat getInstance(ResultFormatType type, java.io.PrintStream out)
type
- result format typeout
- target out