StreamReader

class StreamReader(inputStream: InputStream, var limit: Int = NO_LIMIT, var timeout: Int = INDEFINITE, var filter: (String) -> Boolean? = null)

Author

F43nd1r

Since

30.11.2017

Constructors

Link copied to clipboard
constructor(filename: String)
constructor(file: File)
constructor(inputStream: InputStream, limit: Int = NO_LIMIT, timeout: Int = INDEFINITE, filter: (String) -> Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var filter: (String) -> Boolean?
Link copied to clipboard
var limit: Int
Link copied to clipboard

Functions

Link copied to clipboard
fun read(): String
Link copied to clipboard
fun setFilter(filter: (String) -> Boolean?): StreamReader
Link copied to clipboard
Link copied to clipboard
fun setTimeout(timeout: Int): StreamReader