public class CompositeResourceLoader extends java.lang.Object implements ResourceLoader
| Constructor and Description |
|---|
CompositeResourceLoader(java.util.Collection<ResourceLoader> resourceLoaders) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists(java.lang.String path) |
com.google.common.base.Optional<java.nio.charset.Charset> |
getCharset(java.lang.String path) |
java.io.InputStream |
load(java.lang.String path) |
com.google.common.base.Optional<java.net.URL> |
toUrl(java.lang.String path) |
public CompositeResourceLoader(java.util.Collection<ResourceLoader> resourceLoaders)
public com.google.common.base.Optional<java.nio.charset.Charset> getCharset(java.lang.String path)
getCharset in interface ResourceLoaderpublic java.io.InputStream load(java.lang.String path)
load in interface ResourceLoaderpublic boolean exists(java.lang.String path)
exists in interface ResourceLoaderpublic com.google.common.base.Optional<java.net.URL> toUrl(java.lang.String path)
toUrl in interface ResourceLoader