|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITagReader
Method Summary | |
---|---|
void |
close()
Closes the reader and free any allocated memory. |
void |
decodeHeader()
Decode the header of the stream; |
long |
getBytesRead()
Returns the amount of bytes read |
long |
getDuration()
Return length in seconds |
IStreamableFile |
getFile()
Return the file that is loaded. |
int |
getOffset()
Returns the offet length |
long |
getTotalBytes()
Get the total readable bytes in a file or ByteBuffer |
boolean |
hasMoreTags()
Returns a boolean stating whether the FLV has more tags |
boolean |
hasVideo()
Check if the reader also has video tags. |
void |
position(long pos)
Move the reader pointer to given position in file. |
ITag |
readTag()
Returns a Tag object |
Method Detail |
---|
IStreamableFile getFile()
int getOffset()
long getBytesRead()
long getDuration()
long getTotalBytes()
void decodeHeader()
void position(long pos)
pos
- File position to move toboolean hasMoreTags()
ITag readTag()
void close()
boolean hasVideo()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |