Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
epoxy
GitHub Repository: epoxy/proj11
Path: blob/master/SLICK_HOME/src/org/newdawn/slick/loading/DeferredResource.java
1456 views
1
package org.newdawn.slick.loading;
2
3
import java.io.IOException;
4
5
/**
6
* A description of any class providing a resource handle that be loaded
7
* at a later date (i.e. deferrred)
8
*
9
* @author kevin
10
*/
11
public interface DeferredResource {
12
13
/**
14
* Load the actual resource
15
*
16
* @throws IOException Indicates a failure to load the resource
17
*/
18
public void load() throws IOException;
19
20
/**
21
* Get a description of the resource to be loaded
22
*
23
* @return The description of the resource to be loaded
24
*/
25
public String getDescription();
26
}
27
28