public class DefaultOutputHandler extends java.lang.Object implements org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable, org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable, OutputHandler
Modifier and Type | Field and Description |
---|---|
private java.io.PrintWriter |
consoleWriter |
ROLE
Constructor and Description |
---|
DefaultOutputHandler() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
initialize() |
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.
|
public void initialize() throws org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
initialize
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException
public void dispose()
dispose
in interface org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
public void write(java.lang.String line) throws java.io.IOException
OutputHandler
write
in interface OutputHandler
line
- the linejava.io.IOException
public void writeLine(java.lang.String line) throws java.io.IOException
OutputHandler
writeLine
in interface OutputHandler
line
- the linejava.io.IOException