public class OutputStreamPartVisitor extends Object implements PartVisitor
Constructor and Description |
---|
OutputStreamPartVisitor(OutputStream out) |
Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutputStream() |
void |
withByte(byte b) |
void |
withBytes(byte[] bytes) |
public OutputStreamPartVisitor(OutputStream out)
public void withBytes(byte[] bytes) throws IOException
withBytes
in interface PartVisitor
IOException
public void withByte(byte b) throws IOException
withByte
in interface PartVisitor
IOException
public OutputStream getOutputStream()
Copyright © 2016. All Rights Reserved.