Package hudson.console

Examples of hudson.console.LineTransformationOutputStream


   */
  @Override
  public OutputStream decorateLogger(AbstractBuild build, final OutputStream logger) {
    final AnsiColorMap colorMap = getDescriptor().getColorMap(getColorMapName());

        return new LineTransformationOutputStream() {
            AnsiHtmlOutputStream ansi = new AnsiHtmlOutputStream(logger, colorMap, new AnsiAttributeElement.Emitter() {
                public void emitHtml(String html) {
                    try {
                        new SimpleHtmlNote(html).encodeTo(logger);
                    } catch (IOException e) {
View Full Code Here

TOP

Related Classes of hudson.console.LineTransformationOutputStream

Copyright © 2018 www.massapicom. 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.