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. |
ROLE
public static final java.lang.String ROLE
write
public 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
public 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