kactoos-jvm / nnl.rocks.kactoos.io / LoggingInputStream
class LoggingInputStream :
InputStream
Logged input stream.
There is no thread-safety guarantee.
origin
- Source of data
source
- The name of source data
logger
- The message logger
Since 0.3
Name | Summary |
---|---|
<init> | LoggingInputStream(origin: InputStream , source: String , logger: Logger = Logger.getLogger(source)) Logged input stream. |
Name | Summary |
---|---|
available | fun available(): Int |
close | fun close(): Unit |
mark | fun mark(limit: Int ): Unit |
markSupported | fun markSupported(): Boolean |
read | fun read(): Int fun read(buf: ByteArray ): Int fun read(buf: ByteArray , offset: Int , len: Int ): Int |
reset | fun reset(): Unit |
skip | fun skip(num: Long ): Long |