org.jboss.forge.shell
Interface ShellPrintWriter

All Known Subinterfaces:
PipeOut, Shell

public interface ShellPrintWriter

Author:
Mike Brock ., Lincoln Baxter, III

Method Summary
 void print(ShellColor color, String output)
          Print color output to the console.
 void print(String output)
          Print output to the console.
 void println()
          Print a blank line to the console.
 void println(ShellColor color, String output)
          Print color output to the console, followed by the newline character.
 void println(String output)
          Print output to the console, followed by the newline character.
 String renderColor(ShellColor color, String output)
          Render a color for the current terminal emulation by encapsulating the string is the appropriate escape codes
 void write(byte b)
          Write the given bytes to the console.
 

Method Detail

write

void write(byte b)
Write the given bytes to the console.


print

void print(String output)
Print output to the console.


println

void println(String output)
Print output to the console, followed by the newline character.


println

void println()
Print a blank line to the console.


print

void print(ShellColor color,
           String output)
Print color output to the console.


println

void println(ShellColor color,
             String output)
Print color output to the console, followed by the newline character.


renderColor

String renderColor(ShellColor color,
                   String output)
Render a color for the current terminal emulation by encapsulating the string is the appropriate escape codes



Copyright © 2011 Seam Framework. All Rights Reserved.