de.agilecoders.wicket.webjars.util
Class UrlResourceStreamProvider

java.lang.Object
  extended by 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

Constructor Summary
UrlResourceStreamProvider(ClassLoader... classLoaders)
           
 
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
 

Constructor Detail

UrlResourceStreamProvider

public UrlResourceStreamProvider(ClassLoader... classLoaders)
Method Detail

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.