org.ow2.util.scan.api.classlocator
Class ArchiveClassesLocator

java.lang.Object
  extended by org.ow2.util.scan.api.classlocator.ArchiveClassesLocator
All Implemented Interfaces:
IClassesLocator

public class ArchiveClassesLocator
extends Object
implements IClassesLocator

This class add notion of class to an archive.

Author:
Gael Lalire

Constructor Summary
ArchiveClassesLocator(IArchive archive)
           
 
Method Summary
 URL getClassURL(String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveClassesLocator

public ArchiveClassesLocator(IArchive archive)
Parameters:
archive - an archive which contains classes
Method Detail

getClassURL

public URL getClassURL(String className)
Specified by:
getClassURL in interface IClassesLocator
Parameters:
className - the class name
Returns:
the url of the class named className


Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.