Package org.openhab.core.audio
Class FixedLengthAudioStream
java.lang.Object
java.io.InputStream
org.openhab.core.audio.AudioStream
org.openhab.core.audio.FixedLengthAudioStream
- All Implemented Interfaces:
Closeable,AutoCloseable,ClonableAudioStream,SizeableAudioStream
- Direct Known Subclasses:
ByteArrayAudioStream,FileAudioStream
@NonNullByDefault
@Deprecated
public abstract class FixedLengthAudioStream
extends AudioStream
implements SizeableAudioStream, ClonableAudioStream
Deprecated.
This is a
AudioStream, which can also provide information about its absolute length and get cloned.- Author:
- Kai Kreuzer - Initial contribution, Gwendal Roulleau - Separate getClonedStream and length into their own interface.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.openhab.core.audio.AudioStream
getFormat, getIdMethods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openhab.core.audio.ClonableAudioStream
getClonedStreamMethods inherited from interface org.openhab.core.audio.SizeableAudioStream
length
-
Constructor Details
-
FixedLengthAudioStream
public FixedLengthAudioStream()Deprecated.
-
ClonableAudioStreamand/orSizeableAudioStreamto detect audio stream capabilities