public class URLEncoderOutputStream extends OutputStream
Similar to URLEncoder, but designed to work with byte and byte array inputs.
| Modifier and Type | Field and Description |
|---|---|
protected Appendable |
out |
protected ByteBuffer |
singleByteBuffer |
| Constructor and Description |
|---|
URLEncoderOutputStream(Appendable out)
Encodes to the specified
Appendable. |
protected final Appendable out
protected final ByteBuffer singleByteBuffer
public URLEncoderOutputStream(Appendable out)
Appendable.public void write(int b)
throws IOException
write in class OutputStreamIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2012-2015 Cloudhopper by Twitter. All Rights Reserved.