com.sun.enterprise.tools.verifier.apiscan.classfile
Class ClassLoaderBasedResourceFinder

java.lang.Object
  extended by com.sun.enterprise.tools.verifier.apiscan.classfile.ClassLoaderBasedResourceFinder
All Implemented Interfaces:
ResourceFinder

public class ClassLoaderBasedResourceFinder
extends Object
implements ResourceFinder

Author:
sanjeeb.sahoo@oracle.com

Constructor Summary
ClassLoaderBasedResourceFinder(ClassLoader cl)
           
 
Method Summary
 InputStream findResourceAsStream(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassLoaderBasedResourceFinder

public ClassLoaderBasedResourceFinder(ClassLoader cl)
Method Detail

findResourceAsStream

public InputStream findResourceAsStream(String name)
Specified by:
findResourceAsStream in interface ResourceFinder
Parameters:
name - of the resource
Returns:
null if no such resource exist in this search space.


Copyright © 2013 Oracle Corporation. All Rights Reserved.