Lines Matching defs:printStream
17 import java.io.PrintStream;
175 PrintStream printStream = null;
195 this.printStream = System.out;
433 this.printStream = System.out; // default is to print to console
441 this.printStream = new PrintStream(new BufferedOutputStream(new FileOutputStream(printFile)));
469 if (this.printStream != null) {
470 this.printStream.print(buffer.toString());
486 if (this.printStream != null) this.printStream.print(".");
488 PrintStream stream = new PrintStream(new BufferedOutputStream(new FileOutputStream(outputFile)));
494 PrintStream gStream = new PrintStream(new BufferedOutputStream(new FileOutputStream(globalFile)));
576 private void printComponentTitle(/*PerformanceResults performanceResults, */String component, boolean isGlobal, PrintStream stream) {
620 if (this.printStream != null) this.printStream.print("Print scenarios variations summary...");
622 PrintStream stream = null;
624 stream = new PrintStream(new BufferedOutputStream(new FileOutputStream(outputFile)));
661 if (this.printStream != null) this.printStream.println("done in "+(System.currentTimeMillis()-start)+"ms");
667 private void printSummaryPresentation(PrintStream stream) {
698 private void printSummaryColumnsTitle(PrintStream stream/*, PerformanceResults performanceResults*/) {
720 private void printSummaryScenarioLine(int i, String config, ScenarioResults scenarioResults, PrintStream stream) {
849 if (this.printStream != null) this.printStream.println();
912 if (this.printStream != null) {
913 this.printStream.println("Print performance results HTML pages:");
914 this.printStream.print(" - components main page");
935 if (this.printStream != null) {
937 this.printStream.println(" done in "+duration);
943 if (this.printStream != null) this.printStream.println(" - all scenarios data:");
946 data.print(this.performanceResults, this.printStream, subMonitor.newChild(dataWork));
950 if (this.printStream != null) {
952 this.printStream.println(" => done in "+duration);
955 if (this.printStream != null) {
957 this.printStream.println("End of generation: "+new SimpleDateFormat("H:mm:ss").format(new Date(time)));
959 this.printStream.println("=> done in "+duration);
970 if (this.printStream != null) {
971 this.printStream.flush();
972 if (this.printStream != System.out) {
973 this.printStream.close();
989 if (this.printStream != null) {
990 this.printStream.println(" + changed output dir to: "+dir.getPath());
1004 if (this.printStream != null) {
1005 this.printStream.println();
1006 this.printStream.flush();
1034 this.performanceResults = new PerformanceResults(buildName, baselineName, this.baselinePrefix, this.printStream);