---
title: "ImageCollection"
url: "https://reference.aspose.com/omr/es/java/com.aspose.omr/imagecollection/"
product: "Referencia de API de Aspose.OMR for Java"
description: "Colección de imágenes que pueden usarse para la generación de plantillas"
---


**Inheritance:**
java.lang.Object
```
public class ImageCollection
```

Colección de imágenes que pueden usarse para la generación de plantillas.
## Constructores

| Constructor | Descripción |
| --- | --- |
| [ImageCollection()](#ImageCollection) | Constructor predeterminado para crear una instancia de la colección |
## Métodos

| Método | Descripción |
| --- | --- |
| [add(String imageName, InputStream stream)](#add-java.lang.String-java.io.InputStream) | Inserta una imagen en esta colección. |
| [equals(Object arg0)](#equals-java.lang.Object) |  |
| [getClass()](#getClass) |  |
| [hashCode()](#hashCode) |  |
| [notify()](#notify) |  |
| [notifyAll()](#notifyAll) |  |
| [toString()](#toString) |  |
| [wait()](#wait) |  |
| [wait(long arg0)](#wait-long) |  |
| [wait(long arg0, int arg1)](#wait-long-int) |  |
### ImageCollection() {#ImageCollection}
```
public ImageCollection()
```


Constructor predeterminado para crear una instancia de la colección

### add(String imageName, InputStream stream) {#add-java.lang.String-java.io.InputStream}
```
public void add(String imageName, InputStream stream)
```


Inserta una imagen en esta colección.

**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| imageName | java.lang.String | debe ser igual al elemento ?image, por ejemplo ?image=logo.png collection.Add("logo.png",stream) |
| flujo | java.io.InputStream |  |

### equals(Object arg0) {#equals-java.lang.Object}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getClass() {#getClass}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### hashCode() {#hashCode}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify}
```
public final native void notify()
```




### notifyAll() {#notifyAll}
```
public final native void notifyAll()
```




### toString() {#toString}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait}
```
public final void wait()
```




### wait(long arg0) {#wait-long}
```
public final native void wait(long arg0)
```




**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

