wavaudiocollection-ag凯发旗舰厅
com.spire.presentation
class wavaudiocollection
java.lang.object
com.spire.presentation.wavaudiocollection
- all implemented interfaces:
- com.spire.ms.system.collections.icollection, com.spire.ms.system.collections.ienumerable, java.lang.iterable
public abstract class wavaudiocollection
- extends java.lang.object
- implements com.spire.ms.system.collections.icollection
represents a collection of embedded audio files.
method summary |
iaudiodata |
append(byte[] audiodata)
adds an audio to the list from byte array. |
|
append(byte[] audiodata,
java.lang.string contenttype,
java.lang.string extension)
|
iaudiodata |
append(iaudiodata audiodata)
adds an audio file to list. |
iaudiodata |
append(com.spire.ms.system.io.stream stream)
adds an audio to the list from stream. |
iaudiodata |
get(int index)
gets the element at the specified index. |
int |
getcount()
gets a number of audio files in the collection. |
int |
size()
|
wavaudiocollection
public wavaudiocollection( parent)
getcount
public int getcount()
- gets a number of audio files in the collection.
- returns:
size
public int size()
get
public iaudiodata get(int index)
- gets the element at the specified index.
- parameters:
index
-
- returns:
append
public iaudiodata append(iaudiodata audiodata)
- adds an audio file to list.
- parameters:
audiodata
-
- returns:
- throws:
java.lang.exception
append
public iaudiodata append(com.spire.ms.system.io.stream stream)
- adds an audio to the list from stream.
- parameters:
stream
-
- returns:
- throws:
java.lang.exception
append
public iaudiodata append(byte[] audiodata)
- adds an audio to the list from byte array.
- parameters:
audiodata
-
- returns:
- throws:
java.lang.exception
append
public append(byte[] audiodata,
java.lang.string contenttype,
java.lang.string extension)