public abstract class AbstractTextureCache extends Object implements AVTextureCache
This class does not provide the storage structures for caching as each implementation will have different requirements. It just provides utility methods that most implementations will find useful.
Internationalisation Resource Names
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractTextureCache()
Construct a new instance of the empty cache.
|
| Modifier and Type | Method and Description |
|---|---|
protected TextureComponent2D |
load2DImage(String filename)
Load the image component from the given filename.
|
protected TextureComponent2D |
load2DImage(URL url)
Load the image component from the given url.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckTextureComponent, fetchTexture, fetchTexture, fetchTextureComponent, fetchTextureComponent, registerTexture, registerTextureComponentprotected AbstractTextureCache()
protected TextureComponent2D load2DImage(String filename) throws IOException
filename - The name of the file to be loadedIOException - Some error reading the fileprotected TextureComponent2D load2DImage(URL url) throws IOException
url - The URL of the file to be loadedIOException - Some error reading the URL
Copyright © 2001 - 2015 j3d.org