jaxx.compiler.reflect.resolvers
Class ClassDescriptorResolverFromJavaClass

java.lang.Object
  extended by jaxx.compiler.reflect.ClassDescriptorResolver
      extended by jaxx.compiler.reflect.resolvers.ClassDescriptorResolverFromJavaClass

public class ClassDescriptorResolverFromJavaClass
extends ClassDescriptorResolver

To obtain a class descriptor from a java source file.

Since:
2.0.2
Author:
tchemit

Constructor Summary
ClassDescriptorResolverFromJavaClass()
           
 
Method Summary
 ClassDescriptor resolvDescriptor(String className, URL source)
           
 
Methods inherited from class jaxx.compiler.reflect.ClassDescriptorResolver
getClassLoader, getResolverType, setClassLoader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassDescriptorResolverFromJavaClass

public ClassDescriptorResolverFromJavaClass()
Method Detail

resolvDescriptor

public ClassDescriptor resolvDescriptor(String className,
                                        URL source)
                                 throws ClassNotFoundException
Specified by:
resolvDescriptor in class ClassDescriptorResolver
Parameters:
className - the fully qualified name of the class
source - the source of the class (java file, jaxx file, class)
Returns:
the descriptor of the given class
Throws:
ClassNotFoundException - if class descriptor could not be found.


Copyright © 2008-2011 CodeLutin. All Rights Reserved.