View Javadoc
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  }