wicket.util.file
Class OsgiPath

java.lang.Object
  extended bywicket.util.file.OsgiPath
All Implemented Interfaces:
IResourceFinder

public final class OsgiPath
extends java.lang.Object
implements IResourceFinder

Path for working with OSGi bundles.

Author:
Timur Mehrvarz

Constructor Summary
OsgiPath(java.lang.ClassLoader classLoader)
          Constructor.
 
Method Summary
 java.net.URL find(java.lang.String pathname)
          Looks for a given pathname along this path in the OSGi (jar) bundle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsgiPath

public OsgiPath(java.lang.ClassLoader classLoader)
Constructor.

Parameters:
classLoader - class loader to be used for locating resources
Method Detail

find

public java.net.URL find(java.lang.String pathname)
Looks for a given pathname along this path in the OSGi (jar) bundle.

Specified by:
find in interface IResourceFinder
Parameters:
pathname - The filename with possible path
Returns:
The url located on the path


Copyright © 2004-2005 Wicket developers. All Rights Reserved.