de.agilecoders.wicket.webjars.util
Class UrlResourceStreamProvider
java.lang.Object
de.agilecoders.wicket.webjars.util.UrlResourceStreamProvider
- All Implemented Interfaces:
- IResourceStreamProvider
public class UrlResourceStreamProvider
- extends Object
- implements IResourceStreamProvider
Loads a resource by using ClasspathUrlStreamHandler.
- Author:
- miha
|
Method Summary |
org.apache.wicket.util.resource.IResourceStream |
newResourceStream(String path)
Creates a new IResourceStream that points to a given path. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UrlResourceStreamProvider
public UrlResourceStreamProvider(ClassLoader... classLoaders)
newResourceStream
public org.apache.wicket.util.resource.IResourceStream newResourceStream(String path)
- Description copied from interface:
IResourceStreamProvider
- Creates a new
IResourceStream that points to a given path.
- Specified by:
newResourceStream in interface IResourceStreamProvider
- Parameters:
path - the path to load
- Returns:
- new
IResourceStream instance
Copyright © 2016 agilecoders.de. All Rights Reserved.