public class Streams extends Object
Constructor and Description |
---|
Streams() |
Modifier and Type | Method and Description |
---|---|
static String |
drainStream(OutputStream stream)
Drains the contents of a stream without blocking on further input from that stream.
|
public static String drainStream(OutputStream stream)
stream
- the stream to drainCopyright © 2014. All rights reserved.