Class ResourceLoader<T>
java.lang.Object
ca.phon.util.resources.ResourceLoader<T>
- Type Parameters:
T-
- All Implemented Interfaces:
Iterable<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHandler(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, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
ResourceLoader
public ResourceLoader()Constructor
-
-
Method Details
-
iterator
-
addHandler
Add the given handler to the resource loader.- Parameters:
handler-
-
getHandlers
-