OutputCatcher.HtmlOutputStream
An output stream that has two modes: error mode and regular mode.
| Methods |
| boolean |
hasError()
Check if the error mode was used.
|
| boolean |
hasError()
Check if the error mode was used.
Returns:
true if it was
|
| void |
setError(boolean error)
Enable or disable the error mode.
|
| void |
setError(boolean error) throws IOException
Enable or disable the error mode.
Parameters:
error - the flag
|
| void |
write(boolean errorStream, int b)
Write a character.
|
| void |
write(boolean errorStream, int b) throws IOException
Write a character.
Parameters:
errorStream - if the character comes from the error stream
b - the character
|