public interface IMediaCacheReader
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
Close the reader
|
long |
getFilePointer() |
Get the file pointer for this reader
|
IMediaCacheItem |
getMediaCacheItem() |
Get the MediaCache item associated with this reader
|
Object |
getOpaqueObject() |
Get the opaque object
|
long |
lastModified() |
Get the last modified time
|
long |
length() |
Get the length
|
void |
open() |
Open the reader
|
int |
read(byte[] buffer,
int offset,
int len) |
Read bytes for this reader
|
void |
seek(long pos) |
Seek to the position provided
|
void |
setMediaCacheItem(IMediaCacheItem mediaCacheItem) |
Set the MediaCache item associated with this reader
|
void |
setOpaqueObject(Object object) |
Set the opaque object
|
void close()
long getFilePointer()
IMediaCacheItem getMediaCacheItem()
Object getOpaqueObject()
long lastModified()
long length()
void open()
int read(byte[] buffer,
int offset,
int len)
buffer - offset - len - void seek(long pos)
pos - void setMediaCacheItem(IMediaCacheItem mediaCacheItem)
mediaCacheItem - void setOpaqueObject(Object object)
object -