public class WebmReader extends Object implements Closeable
| Constructor and Description |
|---|
WebmReader(File file,
TagConsumer processor)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Will close all opened resources
|
void |
process()
will process given file and send all tags found to the consumer
|
public WebmReader(File file, TagConsumer processor) throws FileNotFoundException
file - - file to be readprocessor - - handler for the tags foundFileNotFoundException - - will be thrown if file not foundpublic void process()
throws IOException,
ConverterException
IOException - - in case of any exception during reading and/or consumengConverterException - - in case of any error during conversionspublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2005–2017 Red5. All rights reserved.