org.springframework.core.type.classreading

Interface MetadataReaderFactory

    • Method Detail

      • getMetadataReader

        MetadataReader getMetadataReader(java.lang.String className)
                                  throws java.io.IOException
        Obtain a MetadataReader for the given class name.
        Parameters:
        className - the class name (to be resolved to a ".class" file)
        Returns:
        a holder for the ClassReader instance (never null)
        Throws:
        java.io.IOException - in case of I/O failure
      • getMetadataReader

        MetadataReader getMetadataReader(Resource resource)
                                  throws java.io.IOException
        Obtain a MetadataReader for the given resource.
        Parameters:
        resource - the resource (pointing to a ".class" file)
        Returns:
        a holder for the ClassReader instance (never null)
        Throws:
        java.io.IOException - in case of I/O failure