javax.media.protocol.PushSourceStream Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fmj Show documentation
Show all versions of fmj Show documentation
Freedom for Media in Java
The newest version!
package javax.media.protocol;
import java.io.*;
/**
* Standard JMF class -- see this class in the JMF Javadoc. Complete.
*
* @author Ken Larson
*
*/
public interface PushSourceStream extends SourceStream
{
public int getMinimumTransferSize();
/**
* According to API: Read from the stream without blocking. Returns -1 when
* the end of the media is reached. This implies that it can return zero if
* there is no data available.
*/
public int read(byte[] buffer, int offset, int length) throws IOException;
public void setTransferHandler(SourceTransferHandler transferHandler);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy