Package org.red5.io.m4a.impl
Class M4A
- java.lang.Object
-
- org.red5.io.m4a.impl.M4A
-
- All Implemented Interfaces:
IStreamableFile,IM4A
public class M4A extends Object implements IM4A
A M4AImpl implements the M4A api- Author:
- The Red5 Project, Paul Gregoire, (mondain@gmail.com)
-
-
Field Summary
Fields Modifier and Type Field Description protected static org.slf4j.Loggerlog
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ITagWritergetAppendWriter()Returns a Writer which is setup to append to the file.ITagReadergetReader()Returns a reader to parse and read the tags inside the file.ITagWritergetWriter()Returns a writer that creates a new file or truncates existing contents.
-
-
-
Constructor Detail
-
M4A
public M4A()
Default constructor, used by Spring so that parameters may be injected.
-
M4A
public M4A(File file)
Create M4A from given file source- Parameters:
file- File source
-
-
Method Detail
-
getReader
public ITagReader getReader() throws IOException
Returns a reader to parse and read the tags inside the file.- Specified by:
getReaderin interfaceIStreamableFile- Returns:
- the reader Tag reader
- Throws:
IOException- I/O exception
-
getWriter
public ITagWriter getWriter() throws IOException
Returns a writer that creates a new file or truncates existing contents.- Specified by:
getWriterin interfaceIStreamableFile- Returns:
- the writer Tag writer
- Throws:
IOException- I/O exception
-
getAppendWriter
public ITagWriter getAppendWriter() throws IOException
Description copied from interface:IStreamableFileReturns a Writer which is setup to append to the file.- Specified by:
getAppendWriterin interfaceIStreamableFile- Returns:
- the writer Tag writer used for append mode
- Throws:
IOException- I/O exception
-
-