javax.media
Interface ExtendedCachingControl
- 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)
Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.