implicit class InputStreamExtensions extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- InputStreamExtensions
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new InputStreamExtensions(in: InputStream)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def adler32: CheckedInputStream
- def asGzipInputStream(bufferSize: Int = DefaultBufferSize): GZIPInputStream
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asObjectInputStream(bufferSize: Int = DefaultBufferSize): ObjectInputStream
If bufferSize is set to less than or equal to 0, we don't buffer
- def asObjectInputStreamUsingClassLoader(classLoader: ClassLoader = getClass.getClassLoader, bufferSize: Int = DefaultBufferSize): ObjectInputStream
- bufferSize
If bufferSize is set to less than or equal to 0, we don't buffer Code adapted from: https://github.com/apache/commons-io/blob/master/src/main/java/org/apache/commons/io/input/ClassLoaderObjectInputStream.java
- returns
A special ObjectInputStream that loads a class based on a specified ClassLoader rather than the default This is useful in dynamic container environments.
- def asString(closeStream: Boolean = true, bufferSize: Int = DefaultBufferSize)(implicit charset: Charset = DefaultCharset): String
- def asZipInputStream(implicit charset: Charset = DefaultCharset): ZipInputStream
- def buffered(bufferSize: Int): BufferedInputStream
- def buffered: BufferedInputStream
- def byteArray: Array[Byte]
- def bytes: Iterator[Byte]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def crc32: CheckedInputStream
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lines(implicit charset: Charset = DefaultCharset): Iterator[String]
- def md5: DigestInputStream
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def pipeTo(out: OutputStream, buffer: Array[Byte]): out.type
Pipe an input stream to an output stream using a byte buffer
Pipe an input stream to an output stream using a byte buffer
- Annotations
- @tailrec()
- def pipeTo(out: OutputStream, bufferSize: Int = DefaultBufferSize): out.type
- def reader(implicit charset: Charset = DefaultCharset): InputStreamReader
- def sha1: DigestInputStream
- def sha256: DigestInputStream
- def sha512: DigestInputStream
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withChecksum(checksum: Checksum): CheckedInputStream
- def withMessageDigest(digest: MessageDigest): DigestInputStream