org.openqa.selenium.firefox.internal
Class Streams

java.lang.Object
  extended by org.openqa.selenium.firefox.internal.Streams

public class Streams
extends java.lang.Object


Constructor Summary
Streams()
           
 
Method Summary
static java.lang.String drainStream(java.io.OutputStream stream)
          Drains the contents of a stream without blocking on further input from that stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Streams

public Streams()
Method Detail

drainStream

public static java.lang.String drainStream(java.io.OutputStream stream)
                                    throws java.io.IOException
Drains the contents of a stream without blocking on further input from that stream.

Parameters:
stream - the stream to drain
Returns:
the contents of the drained stream
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.