Class Blueprints
java.lang.Object
de.gurkenlabs.litiengine.resources.ResourcesContainer<Blueprint>
de.gurkenlabs.litiengine.resources.Blueprints
public class Blueprints
extends ResourcesContainer<Blueprint>
Method Summary
Modifier and Type Method Description protected java.lang.String
getAlias(java.lang.String resourceName, Blueprint resource)
Gets an alias for the specified resourceName.static boolean
isSupported(java.lang.String fileName)
protected Blueprint
load(java.net.URL resourceName)
Methods inherited from class de.gurkenlabs.litiengine.resources.ResourcesContainer
add, add, addClearedListener, addContainerListener, clear, contains, contains, contains, count, get, get, get, get, get, get, get, getAll, getAsync, getAsync, getResources, remove, remove, removeClearedListener, removeContainerListener, tryGet, tryGet
Method Details
isSupported
public static boolean isSupported(java.lang.String fileName)load
- Specified by:
load
in classResourcesContainer<Blueprint>
- Throws:
java.lang.Exception
getAlias
Description copied from class:ResourcesContainer
Gets an alias for the specified resourceName. Note that the process of providing an alias is up to the ResourceContainer implementation.- Overrides:
getAlias
in classResourcesContainer<Blueprint>
- Parameters:
resourceName
- The original name of the resource.resource
- The resource.- Returns:
- An alias for the specified resource.