// Path: resourcesmanager-core/src/main/java/com/gemserk/resources/dataloaders/DataLoader.java
// public abstract class DataLoader<T> {
// 
// 	/**
// 	 * Implements how to load the data.
// 	 */
// 	public abstract T load();
// 
// 	/**
// 	 * Implements how to unload the data, if it is nod automatic and you need to unload stuff by hand.
// 	 */
// 	public void unload(T t) {
// 
// 	}
// 
// 	/**
// 	 * Provides a way to return custom information about the data loader.
// 	 * 
// 	 * @return An object with the custom information.
// 	 */
// 	public Object getMetaData() {
// 		return null;
// 	}
// 
// }
// 
// Path: resourcesmanager-core/src/main/java/com/gemserk/resources/datasources/DataSource.java
// public interface DataSource {
// 
// 	/**
// 	 * Returns a stream to the data.
// 	 */
// 	InputStream getInputStream();
// 
// 	/**
// 	 * Returns how this DataSource identifies the data.
// 	 */
// 	String getResourceName();
// 
// 	/**
// 	 * Returns an URI to let build a File in an easy way (not always implementable)
// 	 */
// 	URI getUri();
// 
// }


import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.gemserk.resources.dataloaders.DataLoader;
import com.gemserk.resources.datasources.DataSource;
package com.gemserk.resources.java2d.dataloaders;





public class ImageLoader extends DataLoader<Image> {
	
	protected static final Logger logger = LoggerFactory.getLogger(ImageLoader.class);

	private final DataSource dataSource;

// Path: resourcesmanager-core/src/main/java/com/gemserk/resources/dataloaders/DataLoader.java
// public abstract class DataLoader<T> {
// 
// 	/**
// 	 * Implements how to load the data.
// 	 */
// 	public abstract T load();
// 
// 	/**
// 	 * Implements how to unload the data, if it is nod automatic and you need to unload stuff by hand.
// 	 */
// 	public void unload(T t) {
// 
// 	}
// 
// 	/**
// 	 * Provides a way to return custom information about the data loader.
// 	 * 
// 	 * @return An object with the custom information.
// 	 */
// 	public Object getMetaData() {
// 		return null;
// 	}
// 
// }
// 
// Path: resourcesmanager-core/src/main/java/com/gemserk/resources/datasources/DataSource.java
// public interface DataSource {
// 
// 	/**
// 	 * Returns a stream to the data.
// 	 */
// 	InputStream getInputStream();
// 
// 	/**
// 	 * Returns how this DataSource identifies the data.
// 	 */
// 	String getResourceName();
// 
// 	/**
// 	 * Returns an URI to let build a File in an easy way (not always implementable)
// 	 */
// 	URI getUri();
// 
// }


// Path: resourcesmanager-java2dmodule/src/main/java/com/gemserk/resources/java2d/dataloaders/ImageLoader.java
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.gemserk.resources.dataloaders.DataLoader;
import com.gemserk.resources.datasources.DataSource;

package com.gemserk.resources.java2d.dataloaders;





public class ImageLoader extends DataLoader<Image> {
	
	protected static final Logger logger = LoggerFactory.getLogger(ImageLoader.class);

	private final DataSource dataSource;

	public ImageLoader(DataSource dataSource) {