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 PartVisitorIOExceptionpublic void withByte(byte b)
throws IOException
withByte in interface PartVisitorIOExceptionpublic OutputStream getOutputStream()
Copyright © 2022. All Rights Reserved.