implicit class InputStreamOps extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- InputStreamOps
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new InputStreamOps(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 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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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]
-
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
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )