public interface IAudio
Modifier and Type | Method and Description |
---|---|
byte[] |
getBinaryData()
Returns the copy of an audio's data.
|
java.lang.String |
getContentType()
Returns a MIME type of an audio, encoded in
BinaryData (getBinaryData() ). |
java.io.InputStream |
getStream()
Returns Stream stream for reading.
|
java.lang.String getContentType()
Returns a MIME type of an audio, encoded in BinaryData
(getBinaryData()
).
Read-only String
.
byte[] getBinaryData()
Returns the copy of an audio's data. In case of large amount of data consider
using of getStream()
method to prevent unnecessary loading of audio's
data into memory or even OutOfMemoryException.
Read-only byte[]
.
java.io.InputStream getStream()
Returns Stream stream for reading. Use 'using' or close stream after using.