public interface MetadataReaderFactory
MetadataReader
instances.
Allows for caching a MetadataReader per original resource.SimpleMetadataReaderFactory
,
CachingMetadataReaderFactory
Modifier and Type | Method and Description |
---|---|
MetadataReader |
getMetadataReader(Resource resource)
Obtain a MetadataReader for the given resource.
|
MetadataReader |
getMetadataReader(java.lang.String className)
Obtain a MetadataReader for the given class name.
|
MetadataReader getMetadataReader(java.lang.String className) throws java.io.IOException
className
- the class name (to be resolved to a ".class" file)null
)java.io.IOException
- in case of I/O failureMetadataReader getMetadataReader(Resource resource) throws java.io.IOException
resource
- the resource (pointing to a ".class" file)null
)java.io.IOException
- in case of I/O failure