Package com.sun.identity.cli
Class StringOutputWriter
- java.lang.Object
-
- com.sun.identity.cli.StringOutputWriter
-
-
Constructor Summary
Constructors Constructor Description StringOutputWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessages()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.
-
getMessages
public String getMessages()
-
-