t

com.fulcrumgenomics.commons.util

CaptureSystemStreams

trait CaptureSystemStreams extends AnyRef

Methods to help capture stdin and stderr

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CaptureSystemStreams
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type LoggerString = String
  2. type StdErrString = String
  3. type StdOutString = String

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from CaptureSystemStreams to any2stringadd[CaptureSystemStreams] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (CaptureSystemStreams, B)
    Implicit
    This member is added by an implicit conversion from CaptureSystemStreams to ArrowAssoc[CaptureSystemStreams] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def captureItAll(runnable: () ⇒ Unit): (StdErrString, StdOutString, LoggerString)

    captures System.err, System.out, and Logger.out while runnable is executing

    captures System.err, System.out, and Logger.out while runnable is executing

    runnable

    a code block to execute

    returns

    everything written to System.err, System.out, and Logger.out by runnable

  8. def captureLogger(runnable: () ⇒ Unit): LoggerString

    captures Logger.out while runnable is executing

    captures Logger.out while runnable is executing

    runnable

    a code block to execute

    returns

    everything written to Logger.out by runnable

  9. def captureStderr(runnable: () ⇒ Unit): StdErrString

    captures System.err while runnable is executing

    captures System.err while runnable is executing

    runnable

    a code block to execute

    returns

    everything written to System.err by runnable

  10. def captureStdout(runnable: () ⇒ Unit): StdOutString

    captures System.out while runnable is executing

    captures System.out while runnable is executing

    runnable

    a code block to execute

    returns

    everything written to System.out by runnable

  11. def captureStreams(runnable: () ⇒ Unit): (StdErrString, StdOutString)

    captures both System.err and System.out while runnable is executing

    captures both System.err and System.out while runnable is executing

    runnable

    a code block to execute

    returns

    everything written to System.err and System.out by runnable

  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  13. def ensuring(cond: (CaptureSystemStreams) ⇒ Boolean, msg: ⇒ Any): CaptureSystemStreams
    Implicit
    This member is added by an implicit conversion from CaptureSystemStreams to Ensuring[CaptureSystemStreams] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (CaptureSystemStreams) ⇒ Boolean): CaptureSystemStreams
    Implicit
    This member is added by an implicit conversion from CaptureSystemStreams to Ensuring[CaptureSystemStreams] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): CaptureSystemStreams
    Implicit
    This member is added by an implicit conversion from CaptureSystemStreams to Ensuring[CaptureSystemStreams] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): CaptureSystemStreams
    Implicit
    This member is added by an implicit conversion from CaptureSystemStreams to Ensuring[CaptureSystemStreams] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from CaptureSystemStreams to StringFormat[CaptureSystemStreams] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  32. def [B](y: B): (CaptureSystemStreams, B)
    Implicit
    This member is added by an implicit conversion from CaptureSystemStreams to ArrowAssoc[CaptureSystemStreams] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from CaptureSystemStreams to any2stringadd[CaptureSystemStreams]

Inherited by implicit conversion StringFormat from CaptureSystemStreams to StringFormat[CaptureSystemStreams]

Inherited by implicit conversion Ensuring from CaptureSystemStreams to Ensuring[CaptureSystemStreams]

Inherited by implicit conversion ArrowAssoc from CaptureSystemStreams to ArrowAssoc[CaptureSystemStreams]

Ungrouped