org.codehaus.mojo.pomtools.console.toolkit.terminal
Interface Terminal

All Known Implementing Classes:
AbstractTerminal, GenericTerminal, VT100Terminal

public interface Terminal

Version:
$Id: Terminal.java 2166 2006-07-18 21:32:16Z carlos $
Author:
David Hawkins

Field Summary
static Pattern BOLD_END
           
static Pattern BOLD_START
           
 
Method Summary
 String bold(String s)
           
 void clearScreen()
           
 int encodingLength(String s)
           
 int length(String s)
           
 String readLine()
           
 String reverse(String s)
           
 boolean supportsClearScreen()
           
 boolean supportsFormatting()
           
 String underline(String s)
           
 void write(String s)
           
 

Field Detail

BOLD_START

static final Pattern BOLD_START

BOLD_END

static final Pattern BOLD_END
Method Detail

write

void write(String s)
           throws ConsoleExecutionException
Throws:
ConsoleExecutionException

readLine

String readLine()
                throws ConsoleExecutionException
Throws:
ConsoleExecutionException

supportsClearScreen

boolean supportsClearScreen()

clearScreen

void clearScreen()
                 throws ConsoleExecutionException
Throws:
ConsoleExecutionException

supportsFormatting

boolean supportsFormatting()

bold

String bold(String s)

underline

String underline(String s)

reverse

String reverse(String s)

length

int length(String s)

encodingLength

int encodingLength(String s)


Copyright © 2011 The Codehaus. All Rights Reserved.