javax.media
Interface ExtendedCachingControl
- All Superinterfaces:
- CachingControl, Control
- public interface ExtendedCachingControl
- extends CachingControl
- Since:
- JMF 2.0
setBufferSize
public void setBufferSize(Time t)
- Block until you have buffered up t.getSeconds() seconds
of data. Can be tricky to implement for non-interleaved
quicktime or avi files with all the audio in the beginning and all the
video at the end
getBufferSize
public Time getBufferSize()
pauseDownload
public void pauseDownload()
- If downloading is in progress, it will be paused
resumeDownload
public void resumeDownload()
- If downloading was paused, it will be resumed
getStartOffset
public long getStartOffset()
getEndOffset
public long getEndOffset()
addDownloadProgressListener
public void addDownloadProgressListener(DownloadProgressListener l,
int numKiloBytes)
removeDownloadProgressListener
public void removeDownloadProgressListener(DownloadProgressListener l)