Package org.red5.io.matroska.dtd
Class TagFactory
- java.lang.Object
-
- org.red5.io.matroska.dtd.TagFactory
-
public class TagFactory extends Object
factory for creating matroska tags, it use property file - matroska_type_definition_config.properties with structure: long id = "name provided specification","java class representing tag data"
-
-
Constructor Summary
Constructors Constructor Description TagFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Tcreate(String tagName)static TagcreateTag(String tagName)static TagcreateTag(VINT id, VINT size, InputStream inputStream)
-
-
-
Method Detail
-
createTag
public static Tag createTag(VINT id, VINT size, InputStream inputStream) throws ConverterException
- Throws:
ConverterException
-
createTag
public static Tag createTag(String tagName) throws ConverterException
- Throws:
ConverterException
-
create
public static <T> T create(String tagName) throws ConverterException
- Throws:
ConverterException
-
-