Package ca.phon.util.resources
Class ResourceLoader<T>
java.lang.Object
ca.phon.util.resources.ResourceLoader<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
Iterable<T>
Load resources of the parameterized type
from various types of media. The actual
loading is done using
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHandler
(ResourceHandler<T> handler) Add the given handler to the resource loader.iterator()
Return an iterator of loaded resources.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ResourceLoader
public ResourceLoader()Constructor
-
-
Method Details