- public interface SourceCloneable
An interface that a DataSource should implement if it needs to be
cloneable. To create
a cloneable DataSource, use
- JMF 2.0
- See Also:
Create a clone of the original
provides a copy of the same data streams.
public DataSource createClone()
- Create a clone of the original
provides a copy of the same data streams. The clones generated
may or may not have the same properties of the original DataSource
depending on the implementation. Therefore, they should be
checked against the properties required for the application.
For example, the original
DataSource may be a "pull"
PullBufferDataSource). But the resulted clone may be the
DataSource. In that case, the
DataSource will push data at the
same rate at which the original
DataSource is being
- a clone of the DataSource, or null if a clone could not be
Submit a bug or feature
Copyright 1999-2000 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.