public interface ResourceResolver
Most resources can be resolved using standard ClassLoader.getResource code. However
some environments have specialized resource areas which are inaccessible to
ClassLoader. For example, Web environments have /WEB-INF/ which can
only be accessed through ServletContext. Similarly, Android environments must
resolve resources using Context.getResources.
Note: this class is not located under org.metawidget.iface, because GWT does not
like java.io.InputStream.
| Modifier and Type | Method and Description |
|---|---|
InputStream |
openResource(String resource) |
InputStream openResource(String resource)
Copyright © 2015. All Rights Reserved.