com.sun.enterprise.tools.classmodel
Class CodeSourceFilter

java.lang.Object
  extended by com.sun.enterprise.tools.classmodel.CodeSourceFilter

public class CodeSourceFilter
extends Object

CodeSourceFilter is used for determining if classes are in the ClassPath.

Author:
Jeff Trent

Constructor Summary
CodeSourceFilter(ClassPath filter)
           
 
Method Summary
 File codeSourceOf(String className)
           
 boolean matches(String className)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CodeSourceFilter

public CodeSourceFilter(ClassPath filter)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

matches

public boolean matches(String className)
Returns:
true if the given className is present in the ClassPath

codeSourceOf

public File codeSourceOf(String className)
Returns:
the code source of the given className is present in the ClassPath, or null if not found


Copyright © 2013 Oracle Corporation. All Rights Reserved.