Class InterceptedLine


  • public class InterceptedLine
    extends java.lang.Object
    Represents a single captured line of the ConsoleInterceptionAggregator.
    Author:
    Rene Schneider - initial API and implementation
    • Constructor Summary

      Constructors 
      Constructor Description
      InterceptedLine​(java.lang.String aText, boolean anStdErrFlag)
      Creates a new instance.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getText()  
      long getTimestamp()  
      boolean isStdErr()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InterceptedLine

        public InterceptedLine​(java.lang.String aText,
                               boolean anStdErrFlag)
        Creates a new instance.
        Parameters:
        aText - the text
        anStdErrFlag - whether the line was captured from STDERR
    • Method Detail

      • getText

        public java.lang.String getText()
      • getTimestamp

        public long getTimestamp()
      • isStdErr

        public boolean isStdErr()