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, write
public ThrottledOutputStream(OutputStream out, long maxBps)
public static WildcardDictionary parseThrottleFile(String filename) throws IOException
IOException
public void write(int b) throws IOException
write
in class FilterOutputStream
IOException
public void write(byte[] b, int off, int len) throws IOException
write
in class FilterOutputStream
IOException
Copyright © 2013. All Rights Reserved.