com.aspose.slides
Class AudioExCollection

java.lang.Object
  extended by com.aspose.slides.AudioExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<AudioEx>, com.aspose.ms.System.Collections.IEnumerable<AudioEx>, java.lang.Iterable<AudioEx>

public class AudioExCollection
extends java.lang.Object
implements com.aspose.ms.System.Collections.ICollection<AudioEx>

Represents a collection of embedded audio files.


Method Summary
 AudioEx addAudio(AudioEx audio)
           Adds a copy of an audio file from an another presentation.
 AudioEx addAudio(byte[] audioData)
           Creates and adds a audio to a presentation from byte array.
 AudioEx addAudio(java.io.InputStream stream)
           
 void copyTo(java.lang.Object[] array, int index)
           
 AudioEx get_Item(int index)
           Gets the element at the specified index.
 java.lang.Object getSyncRoot()
           
 boolean isSynchronized()
           
 com.aspose.ms.System.Collections.IEnumerator iterator()
           
 int size()
           Returns a number of audio files in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()

Returns a number of audio files in the collection.

Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<AudioEx>

get_Item

public AudioEx get_Item(int index)

Gets the element at the specified index. Read-only ImageEx.


addAudio

public AudioEx addAudio(AudioEx audio)

Adds a copy of an audio file from an another presentation.

Parameters:
audio - Source audio.
Returns:
Added audio.

addAudio

public AudioEx addAudio(java.io.InputStream stream)

addAudio

public AudioEx addAudio(byte[] audioData)

Creates and adds a audio to a presentation from byte array.

Parameters:
audioData - Audio bytes.
Returns:
Added audio.

copyTo

public void copyTo(java.lang.Object[] array,
                   int index)
Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection<AudioEx>

isSynchronized

public boolean isSynchronized()
Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<AudioEx>

getSyncRoot

public java.lang.Object getSyncRoot()
Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<AudioEx>

iterator

public com.aspose.ms.System.Collections.IEnumerator iterator()
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<AudioEx>
Specified by:
iterator in interface java.lang.Iterable<AudioEx>