Package jline

Examples of jline.ANSIBuffer.red()


    return ab.magenta(o.toString()).toString();
  }

  public String ERROR(final Object o) {
    ANSIBuffer ab = new ANSIBuffer();
    return ab.red(o.toString()).toString();
  }

  String formatTime(final long time) {
    return String.format("%.3f ms", (double) time / 1000000);
  }
View Full Code Here


    return ab.magenta(o.toString()).toString();
  }

  public String ERROR(final Object o) {
    ANSIBuffer ab = new ANSIBuffer();
    return ab.red(o.toString()).toString();
  }

  String formatTime(final long time) {
    return String.format("%.3f ms", (double) time / 1000000);
  }
View Full Code Here

  public String ERROR(final Object o) {
    if (VIRTUAL_CONSOLE)
      return o.toString();
    ANSIBuffer ab = new ANSIBuffer();
    return ab.red(o.toString()).toString();
  }

  public String SUCCESS() {
    if (VIRTUAL_CONSOLE)
      return "[OK]\t";
View Full Code Here

  public String FAIL() {
    if (VIRTUAL_CONSOLE)
      return "[FAIL]\t";
    ANSIBuffer ab = new ANSIBuffer();
    ab.append("[");
    ab.red("FAIL");
    ab.append("]\t");
    return ab.toString();
  }

  protected String formatTime(final long time) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.