Class DefaultOutputHandler
- java.lang.Object
-
- org.codehaus.plexus.components.interactivity.DefaultOutputHandler
-
- All Implemented Interfaces:
OutputHandler
@Named public class DefaultOutputHandler extends java.lang.Object implements OutputHandler
Default output handler, that uses the console.- Author:
- Brett Porter
-
-
Constructor Summary
Constructors Constructor Description DefaultOutputHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
write
public void write(java.lang.String line)
Description copied from interface:OutputHandler
Write a single line of input, excluding the newline at the end.- Specified by:
write
in interfaceOutputHandler
- Parameters:
line
- the line
-
writeLine
public void writeLine(java.lang.String line)
Description copied from interface:OutputHandler
Write a single line of input, including the newline at the end.- Specified by:
writeLine
in interfaceOutputHandler
- Parameters:
line
- the line
-
-