ImageCollection
Contenuti
[
Nascondere
]Inheritance: java.lang.Object
public class ImageCollection
Collezione di Immagini che possono essere usate per la generazione del modello.
Costruttori
| Costruttore | Description |
|---|---|
| ImageCollection() | Costruttore predefinito per creare un’istanza della collezione |
Metodi
| Metodo | Description |
|---|---|
| add(String imageName, InputStream stream) | Inserisci l’immagine in questa collezione. |
| equals(Object arg0) | |
| getClass() | |
| hashCode() | |
| notify() | |
| notifyAll() | |
| toString() | |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
ImageCollection()
public ImageCollection()
Costruttore predefinito per creare un’istanza della collezione
add(String imageName, InputStream stream)
public void add(String imageName, InputStream stream)
Inserisci l’immagine in questa collezione.
Parameters:
| Parametro | Tipo | Description |
|---|---|---|
| imageName | java.lang.String | deve essere uguale all’elemento ?image, ad esempio ?image=logo.png collection.Add(“logo.png”,stream) |
| flusso | java.io.InputStream |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parametro | Tipo | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
| Parametro | Tipo | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parametro | Tipo | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |