Package org.red5.io
Interface IStreamableFile
- All Known Subinterfaces:
IFLV
- All Known Implementing Classes:
FLV
public interface IStreamableFile
Interface represents streamable file with tag reader and writers (one for plain mode and one for append)
-
Method Summary
Modifier and TypeMethodDescriptionReturns a Writer which is setup to append to the file.Returns a reader to parse and read the tags inside the file.Returns a writer that creates a new file or truncates existing contents.
-
Method Details
-
getAppendWriter
Returns a Writer which is setup to append to the file.- Returns:
- the writer Tag writer used for append mode
- Throws:
IOException
- I/O exception
-
getReader
Returns a reader to parse and read the tags inside the file.- Returns:
- the reader Tag reader
- Throws:
IOException
- I/O exception
-
getWriter
Returns a writer that creates a new file or truncates existing contents.- Returns:
- the writer Tag writer
- Throws:
IOException
- I/O exception
-