Trait

com.fulcrumgenomics.commons.util

CaptureSystemStreams

Related Doc: package util

Permalink

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

    Permalink
  2. type StdErrString = String

    Permalink
  3. type StdOutString = String

    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 +(other: String): String

    Permalink
    Implicit information
    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)

    Permalink
    Implicit information
    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

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

    Permalink
    Definition Classes
    Any
  7. def captureItAll(runnable: () ⇒ Unit): (StdErrString, StdOutString, LoggerString)

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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)

    Permalink

    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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def ensuring(cond: (CaptureSystemStreams) ⇒ Boolean, msg: ⇒ Any): CaptureSystemStreams

    Permalink
    Implicit information
    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

    Permalink
    Implicit information
    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

    Permalink
    Implicit information
    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

    Permalink
    Implicit information
    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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    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[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def [B](y: B): (CaptureSystemStreams, B)

    Permalink
    Implicit information
    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