TeeReader

open class TeeReader : Reader

Tee-Filters a Reader into an Writer.

Author

"Martin Krischik" «krischik@users.sourceforge.net»

Since

1.0

Constructors

Link copied to clipboard
constructor(in: Reader, tee: Writer)
create new filter.

Properties

Link copied to clipboard
private open var data: String
Temporary holds the full read data.
Link copied to clipboard
private val in: Reader
Reader to read from
Link copied to clipboard
protected open var lock: Any
Link copied to clipboard
private val maxSkipBufferSize: Int = 8192
Link copied to clipboard
private open var skipBuffer: Array<Char>
Link copied to clipboard
private val tee: Writer
Tee output to which read date is written before beeing passed on.
Link copied to clipboard
private val TRANSFER_BUFFER_SIZE: Int = 8192

Functions

Link copied to clipboard
protected open fun clone(): Any
Link copied to clipboard
open fun close()
Close the stream.
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
protected open fun finalize()
Link copied to clipboard
fun getClass(): Class<out Any>
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun mark(readAheadLimit: Int)
Link copied to clipboard
Link copied to clipboard
fun notify()
Link copied to clipboard
fun notifyAll()
Link copied to clipboard
open fun nullReader(): Reader
Link copied to clipboard
open fun read(target: CharBuffer): Int

open fun read(cbuf: Array<Char>, off: Int, len: Int): Int
Reads characters into a portion of an array.
Link copied to clipboard
open fun ready(): Boolean
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun skip(n: Long): Long
Link copied to clipboard
open fun toString(): String
create debug string
Link copied to clipboard
open fun transferTo(out: Writer): Long
Link copied to clipboard
fun wait()