Added in API level 1
PrintWriterPrinter
open class PrintWriterPrinter : Printer
| kotlin.Any | |
| ↳ | android.util.PrintWriterPrinter |
Implementation of a android.util.Printer that sends its output to a java.io.PrintWriter.
Summary
| Public constructors | |
|---|---|
|
Create a new Printer that sends to a PrintWriter object. |
|
| Public methods | |
|---|---|
| open Unit |
Write a line of text to the output. |
Public constructors
PrintWriterPrinter
Added in API level 1
PrintWriterPrinter(pw: PrintWriter!)
Create a new Printer that sends to a PrintWriter object.
| Parameters | |
|---|---|
pw |
PrintWriter!: The PrintWriter where you would like output to go. |
Public methods
println
Added in API level 1
open fun println(x: String!): Unit
Write a line of text to the output. There is no need to terminate the given string with a newline.