java.lang.Object
org.monte.media.av.Registry
org.monte.media.av.DefaultRegistry
DefaultRegistry.
FIXME - The registry should be read from a file.
- Author:
- Werner Randelshofer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets all codecs which can transcode from the specified input format to the specified output format.getExtension(Format ff) getFileFormat(File file) Gets a reader for the specified file format and file.Gets a writer for the specified file format and file.Methods inherited from class org.monte.media.av.Registry
getCodec, getDecoder, getDecoders, getEncoder, getEncoders, getFileFormats, getInstance, getReader, getWriter, suggestOutputFormats
-
Constructor Details
-
DefaultRegistry
public DefaultRegistry()
-
-
Method Details
-
getCodecs
Description copied from class:RegistryGets all codecs which can transcode from the specified input format to the specified output format. -
getExtension
- Specified by:
getExtensionin classRegistry
-
getFileFormat
- Specified by:
getFileFormatin classRegistry
-
getReaderFormats
- Specified by:
getReaderFormatsin classRegistry
-
getReader
Description copied from class:RegistryGets a reader for the specified file format and file.- Specified by:
getReaderin classRegistry- Parameters:
fileFormat- the desired file format.file- the desired file- Returns:
- a reader or null
- Throws:
IOException
-
getWriter
Description copied from class:RegistryGets a writer for the specified file format and file.- Specified by:
getWriterin classRegistry- Parameters:
fileFormat- the desired file format.file- the desired file- Returns:
- a writer or null
- Throws:
IOException
-
getWriterFormats
- Specified by:
getWriterFormatsin classRegistry
-