public interface ITagWriter
| Modifier and Type | Method and Description |
|---|---|
void |
addPostProcessor(IPostProcessor postProcessor)
Adds a post-process for execution once the instance completes.
|
void |
close()
Closes a Writer
|
long |
getBytesWritten()
Return the bytes written
|
IStreamableFile |
getFile()
Return the file that is written.
|
int |
getOffset()
Return the offset
|
void |
writeHeader()
Writes the header bytes
|
boolean |
writeStream(byte[] b)
Write a Stream to disk using bytes
|
boolean |
writeTag(byte type,
org.apache.mina.core.buffer.IoBuffer data)
Write a Tag using bytes
|
boolean |
writeTag(ITag tag)
Writes a Tag object
|
void close()
long getBytesWritten()
IStreamableFile getFile()
int getOffset()
void writeHeader()
throws IOException
IOException - I/O exceptionboolean writeStream(byte[] b)
b - Array of bytes to writetrue on success, false otherwiseboolean writeTag(byte type,
org.apache.mina.core.buffer.IoBuffer data)
throws IOException
type - Tag typedata - Byte datatrue on success, false otherwiseIOException - I/O exceptionboolean writeTag(ITag tag) throws IOException
tag - Tag to writetrue on success, false otherwiseIOException - I/O exceptionvoid addPostProcessor(IPostProcessor postProcessor)
postProcessor - Copyright © 2005–2017 Red5. All rights reserved.