StdIn

class StdIn(substitutionEngineType: StreamSubstitutionType, threadLocalStreamSubstitution: Boolean) : StreamSubstitutionManager<InputStream>

Constructors

Link copied to clipboard
constructor(substitutionEngineType: StreamSubstitutionType, threadLocalStreamSubstitution: Boolean)

Functions

Link copied to clipboard
fun <T> withSubstitutedStreams(systemStreamFactory: (initial: InputStream?) -> InputStream, kernelStreamFactory: (initial: InputStream?) -> InputStream?, body: () -> T): T