java.lang.Object
net.orbyfied.j8.util.logging.formatting.AnsiAttr
net.orbyfied.j8.util.logging.formatting.attr.LiteralAttr

public class LiteralAttr extends AnsiAttr
A literal ANSI attribute, which just returns the code passed into the constructor, without any processing or anything like that.
  • Constructor Details

    • LiteralAttr

      public LiteralAttr(String code)
  • Method Details

    • code

      public String code(Object... args)
      Description copied from class: AnsiAttr
      Returns/generates the ANSI escape code of the attribute.
      Specified by:
      code in class AnsiAttr
      Returns:
      The escape code.