org.codehaus.plexus.components.interactivity

Interface OutputHandler

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 String
ROLE

Method Summary

void
write(String line)
Write a single line of input, excluding the newline at the end.
void
writeLine(String line)
Write a single line of input, including the newline at the end.

Field Details

ROLE

public static final String ROLE

Method Details

write

public void write(String line)
            throws IOException
Write a single line of input, excluding the newline at the end.
Parameters:
line - the line

writeLine

public void writeLine(String line)
            throws IOException
Write a single line of input, including the newline at the end.
Parameters:
line - the line