public class STextureImageIOLoader extends java.lang.Object implements SStringLoader
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
FILE_EXTENSIONS
La constante 'FILE_EXTENSIONS' correspond aux différents type de fichier image pouvant être interprété par ce chargeur d'image.
|
Constructor and Description |
---|
STextureImageIOLoader()
Constructeur d'un lecteur de texture selon l'implémentation de la classe javax.imageio.ImageIO supportant les formats
'gif', 'png' et 'jpeg' ('jpg').
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
load(java.lang.String string)
Méthode qui fait la construction d'un objet dont le type dépendera de la classe implémentant l'interface SStringLoader.
|
public static final java.lang.String[] FILE_EXTENSIONS
public STextureImageIOLoader()
public java.lang.Object load(java.lang.String string) throws SLoaderException
SStringLoader
load
in interface SStringLoader
string
- - Les informations sous forme String permettant au loader de fonctionner.SLoaderException
- S'il y a eu une erreur durant le chargement du fichier.