public class FileMediaDataSource extends java.lang.Object implements IMediaDataSource
| Constructor and Description |
|---|
FileMediaDataSource(java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getSize() |
int |
readAt(long position,
byte[] buffer,
int offset,
int size) |
public FileMediaDataSource(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic int readAt(long position,
byte[] buffer,
int offset,
int size)
throws java.io.IOException
readAt in interface IMediaDataSourcejava.io.IOExceptionpublic long getSize()
throws java.io.IOException
getSize in interface IMediaDataSourcejava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface IMediaDataSourcejava.io.IOException