public interface ITagWriter
| Modifier and Type | Method and Description |
|---|---|
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,
IoBuffer data)
Write a Tag using bytes
|
boolean |
writeTag(ITag tag)
Writes a Tag object
|
IStreamableFile getFile()
int getOffset()
long getBytesWritten()
void writeHeader()
throws IOException
IOException - I/O exceptionboolean writeTag(ITag tag) throws IOException
tag - Tag to writetrue on success, false otherwiseIOException - I/O exceptionboolean writeTag(byte type,
IoBuffer data)
throws IOException
type - Tag typedata - Byte datatrue on success, false otherwiseIOException - I/O exceptionboolean writeStream(byte[] b)
b - Array of bytes to writetrue on success, false otherwisevoid close()
Copyright © 2006-2012 The Red5 Project