All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jglfont.spi.ResourceLoader Maven / Gradle / Ivy

Go to download

Nifty GUI is a Java Library that supports the building of interactive user interfaces for games or similar applications. It utilizes OpenGL for rendering and it can be easily integrated into many rendering systems. The configuration of the GUI is stored in xml files with little supporting Java code. In short Nifty helps you to layout stuff, display it in a cool way and interact with it :)

There is a newer version: 1.4.3
Show newest version
package org.jglfont.spi;

import java.io.InputStream;

/**
 * This translates a filename (as stored in the angelcode bitmap font format example) into an Inputstream. A
 * ResourceLoaderImpl is provided which will look up the file in the classpath but you can provide your own
 * implementation to customize this behaviour.
 *
 * @author void
 */
public interface ResourceLoader {
  /**
   * Load the resource given by filename using any way you'd like to provide an InputStream.
   *
   * @param filename name of a bitmap
   * @return InputStream to retrieve the resource
   */
  InputStream load(String filename);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy