com.smaxe.uv.fformat
Class Flv.TagProcessorAdapter

java.lang.Object
  extended by com.smaxe.uv.fformat.Flv.TagProcessorAdapter
All Implemented Interfaces:
Flv.ITagProcessor
Enclosing class:
Flv

public static class Flv.TagProcessorAdapter
extends java.lang.Object
implements Flv.ITagProcessor

TagProcessorAdapter - Flv.ITagProcessor adapter.


Constructor Summary
Flv.TagProcessorAdapter()
          Constructor.
 
Method Summary
 void onTag(int type, int dataSize, long timestamp, java.io.InputStream is)
          Notifies about a new tag in the is.
 void onTagSize(int size)
          Notifies about previous tag size.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Flv.TagProcessorAdapter

public Flv.TagProcessorAdapter()
Constructor.

Method Detail

onTag

public void onTag(int type,
                  int dataSize,
                  long timestamp,
                  java.io.InputStream is)
           throws java.io.IOException
Description copied from interface: Flv.ITagProcessor
Notifies about a new tag in the is.

Specified by:
onTag in interface Flv.ITagProcessor
Parameters:
type - tag type
dataSize - tag data size
timestamp - tag timestamp
is - input stream to read the tag
Throws:
java.io.IOException - if an I/O exception occurred

onTagSize

public void onTagSize(int size)
Description copied from interface: Flv.ITagProcessor
Notifies about previous tag size.

Specified by:
onTagSize in interface Flv.ITagProcessor
Parameters:
size - size