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
-
Method Summary
Methods inherited from class org.openhab.core.audio.AudioStream
getFormat, getId
Methods inherited from class java.io.InputStream
available, close, mark, markSupported, nullInputStream, read, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.openhab.core.audio.ClonableAudioStream
getClonedStream
Methods inherited from interface org.openhab.core.audio.SizeableAudioStream
length
-
Constructor Details
-
FixedLengthAudioStream
public FixedLengthAudioStream()Deprecated.
-
ClonableAudioStream
and/orSizeableAudioStream
to detect audio stream capabilities