0.10.8-alpha
ca.uqac.lif.cep.io.CommandRunner.StreamGobbler Class Reference

Constantly reads an input stream and captures its content. More...

Public Member Functions

void run ()
 
synchronized byte [] getBytes ()
 Returns the contents captured by the gobbler as an array of bytes. More...
 

Detailed Description

Constantly reads an input stream and captures its content.

Inspired from ArrayDeque Overflow

Definition at line 94 of file CommandRunner.java.

Member Function Documentation

◆ getBytes()

synchronized byte [] ca.uqac.lif.cep.io.CommandRunner.StreamGobbler.getBytes ( )

Returns the contents captured by the gobbler as an array of bytes.

Returns
The contents

Definition at line 138 of file CommandRunner.java.

◆ run()

void ca.uqac.lif.cep.io.CommandRunner.StreamGobbler.run ( )

Definition at line 109 of file CommandRunner.java.


The documentation for this class was generated from the following file: