|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITagWriter
Writes tags to FLV file
Method Summary | |
---|---|
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 |
Method Detail |
---|
IStreamableFile getFile()
int getOffset()
long getBytesWritten()
void writeHeader() throws IOException
IOException
- I/O exceptionboolean writeTag(ITag tag) throws IOException
tag
- Tag to write
true
on success, false
otherwise
IOException
- I/O exceptionboolean writeTag(byte type, IoBuffer data) throws IOException
type
- Tag typedata
- Byte data
true
on success, false
otherwise
IOException
- I/O exceptionboolean writeStream(byte[] b)
b
- Array of bytes to write
true
on success, false
otherwisevoid close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |