public class AsfStreamer extends Object
Constructor and Description |
---|
AsfStreamer() |
Modifier and Type | Method and Description |
---|---|
void |
createModifiedCopy(InputStream source,
OutputStream dest,
List<ChunkModifier> modifiers)
Reads the
source and applies the modifications provided by
the given modifiers , and puts it to dest .Each modifier is used only once, so if one should be used multiple times, it should be added multiple times into the list. |
public void createModifiedCopy(InputStream source, OutputStream dest, List<ChunkModifier> modifiers) throws IOException
source
and applies the modifications provided by
the given modifiers
, and puts it to dest
.source
- the source ASF filedest
- the destination to write the modified version to.modifiers
- list of chunk modifiers to apply.IOException
- on I/O errors.Copyright © 2005–2020 jthink.net. All rights reserved.