Class

scales.utils.io

ProxiedCloseOnNeedInputStream

Related Doc: package io

Permalink

case class ProxiedCloseOnNeedInputStream(orig: InputStream) extends InputStream with CloseOnNeed with Product with Serializable

Wrap the InputStream to allow better bracketing etc.

Linear Supertypes
Serializable, Serializable, Product, Equals, CloseOnNeed, IsClosed, InputStream, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProxiedCloseOnNeedInputStream
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CloseOnNeed
  7. IsClosed
  8. InputStream
  9. Closeable
  10. AutoCloseable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ProxiedCloseOnNeedInputStream(orig: 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. def ++(close2: CloseOnNeed): CloseOnNeed

    Permalink
    Definition Classes
    CloseOnNeed
  4. final def ==(arg0: Any): Boolean

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

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

    Permalink
    Definition Classes
    ProxiedCloseOnNeedInputStream → InputStream
  7. def clone(): AnyRef

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

    Permalink
    Definition Classes
    ProxiedCloseOnNeedInputStream → InputStream → Closeable → AutoCloseable
  9. def closeResource: Unit

    Permalink

    Close the underlying something, but only do it once.

    Close the underlying something, but only do it once.

    This allows closing of an xml input stream directly after the end doc, but without disturbing the normal model.

    Definition Classes
    CloseOnNeed
  10. def doClose(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def isClosed: Boolean

    Permalink
    Definition Classes
    CloseOnNeedIsClosed
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def mark(rah: Int): Unit

    Permalink
    Definition Classes
    ProxiedCloseOnNeedInputStream → InputStream
  17. def markSupported(): Boolean

    Permalink
    Definition Classes
    ProxiedCloseOnNeedInputStream → InputStream
  18. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. val orig: InputStream

    Permalink
  22. def read(cbuf: Array[Byte], off: Int, len: Int): Int

    Permalink
    Definition Classes
    ProxiedCloseOnNeedInputStream → InputStream
  23. def read(cbuf: Array[Byte]): Int

    Permalink
    Definition Classes
    ProxiedCloseOnNeedInputStream → InputStream
  24. def read(): Int

    Permalink
    Definition Classes
    ProxiedCloseOnNeedInputStream → InputStream
  25. def reset(): Unit

    Permalink
    Definition Classes
    ProxiedCloseOnNeedInputStream → InputStream
  26. def skip(n: Long): Long

    Permalink
    Definition Classes
    ProxiedCloseOnNeedInputStream → InputStream
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from CloseOnNeed

Inherited from IsClosed

Inherited from InputStream

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped