public interface ResourceLoaderProvider
ResourceLoader
This is just the interface to proxy, all methods should behave like described,
in the JavaDoc of the proxy.ResourceLoadervoid addResourceLocation(ResourceLocation location)
void pushResourceLocation(ResourceLocation location)
void removeResourceLocation(ResourceLocation location)
void clearResourceLocations()
List<ResourceLocation> getResourceLocations()
Texture getTexture(String name, Dimension dimension, boolean forceLoading) throws Exception
ExceptionString getShader(String name, boolean forceLoading, LineBasedParser parser) throws Exception
ExceptionGLSLProgram getShaderProgram(String name) throws Exception
ExceptionGLSLProgram getShaderProgram(String name, boolean forceLoading) throws Exception
ExceptionAudioSource getAudioSource(String name) throws Exception
ExceptionAudioSource getAudioSource(String name, boolean forceLoading) throws Exception
Exception<T> T load(String name, AsciiFileLoader<T> loader, boolean forceLoading) throws Exception
Exception<T,C> T load(String name, BinaryLoader<T,C> loader, boolean forceLoading) throws Exception
ExceptionString readFile(String name) throws IOException
IOExceptionString readFile(String name, boolean forceLoading) throws IOException
IOExceptionString readFile(String name, boolean forceLoading, LineBasedParser parser) throws IOException
IOExceptionboolean exists(String name)
InputStream getStream(String name) throws IOException
IOExceptionURL getURL(String name) throws IOException
IOExceptionCopyright © 2015. All rights reserved.