class OutputStream extends java.io.InputStream with DataInput with ByteData
A combination BufferedReader and java.io.InputStream, this allows you to read both bytes and lines, without worrying about the buffer used for reading lines messing up your reading of bytes.
Note that all reads that occur through this class are thread-safe and synchronized. If you wish to perform writes without the synchronization overhead, you can use the underlying wrapped stream directly
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- OutputStream
- ByteData
- DataInput
- InputStream
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new OutputStream(wrapped: java.io.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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def available(): Int
- Definition Classes
- InputStream
- Annotations
- @throws(classOf[java.io.IOException])
- val buffered: BufferedReader
- def bytes: Array[Byte]
- Definition Classes
- OutputStream → ByteData
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
- Definition Classes
- OutputStream → InputStream → Closeable → AutoCloseable
- val data: DataInputStream
- 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(codec: Codec): Vector[String]
- Definition Classes
- ByteData
- def lines(): Vector[String]
- Definition Classes
- ByteData
- def mark(arg0: Int): Unit
- Definition Classes
- InputStream
- def markSupported(): Boolean
- Definition Classes
- InputStream
- 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()
- def read(b: Array[Byte], off: Int, len: Int): Int
- Definition Classes
- OutputStream → InputStream
- def read(b: Array[Byte]): Int
- Definition Classes
- OutputStream → InputStream
- def read(): Int
- Definition Classes
- OutputStream → InputStream
- def readBoolean(): Boolean
- Definition Classes
- OutputStream → DataInput
- def readByte(): Byte
- Definition Classes
- OutputStream → DataInput
- def readChar(): Char
- Definition Classes
- OutputStream → DataInput
- def readDouble(): Double
- Definition Classes
- OutputStream → DataInput
- def readFloat(): Float
- Definition Classes
- OutputStream → DataInput
- def readFully(b: Array[Byte], off: Int, len: Int): Unit
- Definition Classes
- OutputStream → DataInput
- def readFully(b: Array[Byte]): Unit
- Definition Classes
- OutputStream → DataInput
- def readInt(): Int
- Definition Classes
- OutputStream → DataInput
- def readLine(): String
- Definition Classes
- OutputStream → DataInput
- def readLong(): Long
- Definition Classes
- OutputStream → DataInput
- def readShort(): Short
- Definition Classes
- OutputStream → DataInput
- def readUTF(): String
- Definition Classes
- OutputStream → DataInput
- def readUnsignedByte(): Int
- Definition Classes
- OutputStream → DataInput
- def readUnsignedShort(): Int
- Definition Classes
- OutputStream → DataInput
- def reset(): Unit
- Definition Classes
- InputStream
- Annotations
- @throws(classOf[java.io.IOException])
- def skip(arg0: Long): Long
- Definition Classes
- InputStream
- Annotations
- @throws(classOf[java.io.IOException])
- def skipBytes(n: Int): Nothing
- Definition Classes
- OutputStream → DataInput
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def text(codec: Codec): String
- Definition Classes
- ByteData
- def text(): String
- Definition Classes
- ByteData
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trim(codec: Codec): String
- Definition Classes
- ByteData
- def trim(): String
- Definition Classes
- ByteData
- 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()
- val wrapped: java.io.InputStream