01: package net.xoetrope.optional.resources;
02:
03: /**
04: * An interface for resource loaders
05: * <p> Copyright (c) Xoetrope Ltd., 2002-2004</p>
06: * <p> $Revision: 1.1 $</p>
07: */
08: public interface XResourceLoader {
09: /**
10: * Set the URIs/file paths/sources for loading files
11: * @param sources An array of sources for inclusion in the search for resources.
12: * @return true to indicate that the sources are setup, false to indicate some failure
13: */
14: public boolean setSources(String[] sources);
15: }
|