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(String className)
Obtain a MetadataReader for the given class name.
|
MetadataReader getMetadataReader(String className) throws IOException
className
- the class name (to be resolved to a ".class" file)null
)IOException
- in case of I/O failureMetadataReader getMetadataReader(Resource resource) throws IOException
resource
- the resource (pointing to a ".class" file)null
)IOException
- in case of I/O failure