Class ResourceCpResolver

  • All Implemented Interfaces:
    ClassResolver, java.lang.AutoCloseable

    public class ResourceCpResolver
    extends java.lang.Object
    implements ClassResolver
    The type Resource cp resolver.
    • Constructor Summary

      Constructors 
      Constructor Description
      ResourceCpResolver​(org.apache.tools.ant.types.Path resources, org.apache.tools.ant.Task target)
      Instantiates a new Resource cp resolver.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.lang.Class resolve​(java.lang.String className)
      Resolve class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResourceCpResolver

        public ResourceCpResolver​(org.apache.tools.ant.types.Path resources,
                                  org.apache.tools.ant.Task target)
        Instantiates a new Resource cp resolver.
        Parameters:
        resources - the resources
        target - the target
    • Method Detail

      • resolve

        public java.lang.Class resolve​(java.lang.String className)
                                throws java.lang.ClassNotFoundException
        Description copied from interface: ClassResolver
        Resolve class.
        Specified by:
        resolve in interface ClassResolver
        Parameters:
        className - the class name
        Returns:
        the class
        Throws:
        java.lang.ClassNotFoundException - the class not found exception
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception