Class

os.SubProcess

OutputStream

Related Doc: package SubProcess

Permalink

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
ByteData, DataInput, java.io.InputStream, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OutputStream
  2. ByteData
  3. DataInput
  4. InputStream
  5. Closeable
  6. AutoCloseable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OutputStream(wrapped: java.io.InputStream)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def available(): Int

    Permalink
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  6. val buffered: BufferedReader

    Permalink
  7. def bytes: Array[Byte]

    Permalink
    Definition Classes
    OutputStream → ByteData
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  9. def close(): Unit

    Permalink
    Definition Classes
    OutputStream → InputStream → Closeable → AutoCloseable
  10. val data: DataInputStream

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def lines(codec: Codec): Vector[String]

    Permalink
    Definition Classes
    ByteData
  17. def lines(): Vector[String]

    Permalink
    Definition Classes
    ByteData
  18. def mark(arg0: Int): Unit

    Permalink
    Definition Classes
    InputStream
  19. def markSupported(): Boolean

    Permalink
    Definition Classes
    InputStream
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. def read(b: Array[Byte], off: Int, len: Int): Int

    Permalink
    Definition Classes
    OutputStream → InputStream
  24. def read(b: Array[Byte]): Int

    Permalink
    Definition Classes
    OutputStream → InputStream
  25. def read(): Int

    Permalink
    Definition Classes
    OutputStream → InputStream
  26. def readAllBytes(): Array[Byte]

    Permalink
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  27. def readBoolean(): Boolean

    Permalink
    Definition Classes
    OutputStream → DataInput
  28. def readByte(): Byte

    Permalink
    Definition Classes
    OutputStream → DataInput
  29. def readChar(): Char

    Permalink
    Definition Classes
    OutputStream → DataInput
  30. def readDouble(): Double

    Permalink
    Definition Classes
    OutputStream → DataInput
  31. def readFloat(): Float

    Permalink
    Definition Classes
    OutputStream → DataInput
  32. def readFully(b: Array[Byte], off: Int, len: Int): Unit

    Permalink
    Definition Classes
    OutputStream → DataInput
  33. def readFully(b: Array[Byte]): Unit

    Permalink
    Definition Classes
    OutputStream → DataInput
  34. def readInt(): Int

    Permalink
    Definition Classes
    OutputStream → DataInput
  35. def readLine(): String

    Permalink
    Definition Classes
    OutputStream → DataInput
  36. def readLong(): Long

    Permalink
    Definition Classes
    OutputStream → DataInput
  37. def readNBytes(arg0: Array[Byte], arg1: Int, arg2: Int): Int

    Permalink
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  38. def readNBytes(arg0: Int): Array[Byte]

    Permalink
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  39. def readShort(): Short

    Permalink
    Definition Classes
    OutputStream → DataInput
  40. def readUTF(): String

    Permalink
    Definition Classes
    OutputStream → DataInput
  41. def readUnsignedByte(): Int

    Permalink
    Definition Classes
    OutputStream → DataInput
  42. def readUnsignedShort(): Int

    Permalink
    Definition Classes
    OutputStream → DataInput
  43. def reset(): Unit

    Permalink
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  44. def skip(arg0: Long): Long

    Permalink
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  45. def skipBytes(n: Int): Nothing

    Permalink
    Definition Classes
    OutputStream → DataInput
  46. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  47. def text(codec: Codec): String

    Permalink
    Definition Classes
    ByteData
  48. def text(): String

    Permalink
    Definition Classes
    ByteData
  49. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  50. def transferTo(arg0: java.io.OutputStream): Long

    Permalink
    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  51. def trim(codec: Codec): String

    Permalink
    Definition Classes
    ByteData
  52. def trim(): String

    Permalink
    Definition Classes
    ByteData
  53. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. val wrapped: java.io.InputStream

    Permalink

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def string(codec: Codec): String

    Permalink
    Definition Classes
    ByteData
    Annotations
    @deprecated
    Deprecated

    Use .text()

  3. def string(): String

    Permalink
    Definition Classes
    ByteData
    Annotations
    @deprecated
    Deprecated

    Use .text()

Inherited from ByteData

Inherited from DataInput

Inherited from java.io.InputStream

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped