public class ThrottledOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
ThrottledOutputStream(OutputStream out,
long maxBps) |
| Modifier and Type | Method and Description |
|---|---|
static WildcardDictionary |
parseThrottleFile(String filename) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, flush, writepublic ThrottledOutputStream(OutputStream out, long maxBps)
public static WildcardDictionary parseThrottleFile(String filename) throws IOException
IOExceptionpublic void write(int b)
throws IOException
write in class FilterOutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class FilterOutputStreamIOExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.