public class ConcatPcap extends Object
Constructor and Description |
---|
ConcatPcap() |
Modifier and Type | Method and Description |
---|---|
static void |
copy(boolean first,
InputStream in,
DataOutputStream out)
Concatenates a stream onto the output.
|
static void |
main(String[] args) |
public static void main(String[] args) throws IOException
IOException
public static void copy(boolean first, InputStream in, DataOutputStream out) throws IOException
first
- Is this the beginning of the output?in
- The data to copy to the outputout
- Where the output should goIOException
- If there is an error reading or writing.Copyright © 2021 The Apache Software Foundation. All rights reserved.