IDvrTextReaderpublic interface ITextReader
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Close the media asset
|
boolean |
exists() |
Does the media asset exist
|
String |
getBasePath() |
Get the basePath for the random access reader
|
String |
getMediaName() |
Get the media name
|
String |
getPath() |
Get the unique path to the media asset item
|
void |
init(IApplicationInstance appInstance,
IMediaStream stream,
String basePath,
String mediaName) |
|
boolean |
isOpen() |
Is the media asset open
|
long |
lastModified() |
Return the lastModified date (same format as File.lastModified)
|
long |
length() |
Get the media asset length in bytes
|
void |
open() |
Open the media asset
|
int |
read(char[] buf,
int off,
int size) |
|
boolean |
ready() |
void close()
throws java.io.IOException
java.io.IOExceptionboolean exists()
String getBasePath()
String getMediaName()
String getPath()
void init(IApplicationInstance appInstance, IMediaStream stream, String basePath, String mediaName)
boolean isOpen()
long lastModified()
long length()
void open() throws java.io.IOException
java.io.IOExceptionint read(char[] buf,
int off,
int size)
throws java.io.IOException
java.io.IOExceptionboolean ready()
throws java.io.IOException
java.io.IOException