org.codehaus.plexus.components.interactivity
Interface OutputHandler

All Known Implementing Classes:
DefaultOutputHandler

public interface OutputHandler

Manage user output to different sources.

Version:
$Id: OutputHandler.java 2649 2005-10-10 16:51:51Z brett $
Author:
Brett Porter

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void write(java.lang.String line)
          Write a single line of input, excluding the newline at the end.
 void writeLine(java.lang.String line)
          Write a single line of input, including the newline at the end.
 

Field Detail

ROLE

static final java.lang.String ROLE
Method Detail

write

void write(java.lang.String line)
           throws java.io.IOException
Write a single line of input, excluding the newline at the end.

Parameters:
line - the line
Throws:
java.io.IOException

writeLine

void writeLine(java.lang.String line)
               throws java.io.IOException
Write a single line of input, including the newline at the end.

Parameters:
line - the line
Throws:
java.io.IOException


Copyright © 2001-2008 Codehaus. All Rights Reserved.