public class ResultFormatFactory extends Object
Modifier and Type | Method | Description |
---|---|---|
static ResultFormat |
getInstance(ResultFormatType type,
PrintStream out) |
Get the instance of ResultFormat of given type which write the result to out.
|
static ResultFormat |
getInstance(ResultFormatType type,
String file) |
Get the instance of ResultFormat of given type which writes the result to file
|
public static ResultFormat getInstance(ResultFormatType type, String file)
type
- result format typefile
- target filepublic static ResultFormat getInstance(ResultFormatType type, PrintStream out)
type
- result format typeout
- target outCopyright © 2012-2016 Oracle. All Rights Reserved.