All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.nlp.util.logging.Style Maven / Gradle / Ivy

package edu.stanford.nlp.util.logging;

/**
 * ANSI supported styles (rather, a subset of)
 * These values are mirrored in Redwood.Util
 * @author Gabor Angeli (angeli at cs.stanford)
 */
public enum Style {
  NONE(""), BOLD("\033[1m"), DIM("\033[2m"), ITALIC("\033[3m"), UNDERLINE("\033[4m"), BLINK("\033[5m"), CROSS_OUT("\033[9m");
  public final String ansiCode;
  private Style(String ansiCode){
    this.ansiCode = ansiCode;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy