Forge - Parent 1.0.5-SNAPSHOT

org.jboss.forge.shell
Interface ShellPrintWriter

All Known Subinterfaces:
PipeOut, Shell

public interface ShellPrintWriter

Author:
Mike Brock ., Lincoln Baxter, III

Method Summary
 void flush()
          Flush output.
 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)
           
 void write(byte[] b)
           
 void write(byte[] b, int offset, int length)
           
 void write(int b)
          Write the given bytes to the console.
 

Method Detail

write

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


write

void write(byte b)

write

void write(byte[] b)

write

void write(byte[] b,
           int offset,
           int length)

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


flush

void flush()
Flush output.


Forge - Parent 1.0.5-SNAPSHOT

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.