org.openqa.selenium.firefox.internal
Class Streams
java.lang.Object
org.openqa.selenium.firefox.internal.Streams
public class Streams
- extends Object
Method Summary |
static String |
drainStream(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 |
Streams
public Streams()
drainStream
public static String drainStream(OutputStream stream)
throws 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:
IOException
Copyright © 2011. All Rights Reserved.