Package org.red5.server.api.stream
Interface IStreamableFile
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
-
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
-
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
-