Package com.sun.identity.cli
Class BufferOutputWriter
- java.lang.Object
-
- com.sun.identity.cli.BufferOutputWriter
-
-
Constructor Summary
Constructors Constructor Description BufferOutputWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearBuffer()Clears the buffer.StringgetBuffer()Returns buffer.voidprintError(String str)Prints error.voidprintlnError(String str)Prints error with new line.voidprintlnMessage(String str)Prints message with new line.voidprintMessage(String str)Prints message.
-
-
-
Method Detail
-
printMessage
public void printMessage(String str)
Prints message.- Specified by:
printMessagein interfaceIOutput- Parameters:
str- Message string.
-
printlnMessage
public void printlnMessage(String str)
Prints message with new line.- Specified by:
printlnMessagein interfaceIOutput- Parameters:
str- Message string.
-
printError
public void printError(String str)
Prints error.- Specified by:
printErrorin interfaceIOutput- Parameters:
str- Error message string.
-
printlnError
public void printlnError(String str)
Prints error with new line.- Specified by:
printlnErrorin interfaceIOutput- Parameters:
str- Error message string.
-
clearBuffer
public void clearBuffer()
Clears the buffer.
-
getBuffer
public String getBuffer()
Returns buffer.- Returns:
- string buffer.
-
-