FileDocCategorySizeDatePackage
ExtendedCachingControl.javaAPI DocJMF 2.1.1e979Mon May 12 12:20:38 BST 2003javax.media

ExtendedCachingControl

public interface ExtendedCachingControl implements CachingControl
since
JMF 2.0

Fields Summary
Constructors Summary
Methods Summary
public voidaddDownloadProgressListener(javax.media.DownloadProgressListener l, int numKiloBytes)

public javax.media.TimegetBufferSize()

public longgetEndOffset()

public longgetStartOffset()

public voidpauseDownload()
If downloading is in progress, it will be paused

public voidremoveDownloadProgressListener(javax.media.DownloadProgressListener l)

public voidresumeDownload()
If downloading was paused, it will be resumed

public voidsetBufferSize(javax.media.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