Class MappingFileDescriptorImpl
- java.lang.Object
-
- org.hibernate.boot.archive.scan.internal.MappingFileDescriptorImpl
-
- All Implemented Interfaces:
MappingFileDescriptor
public class MappingFileDescriptorImpl extends Object implements MappingFileDescriptor
-
-
Constructor Summary
Constructors Constructor Description MappingFileDescriptorImpl(String name, InputStreamAccess streamAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()The mapping file name.InputStreamAccessgetStreamAccess()Retrieves access to the InputStream for the mapping file.
-
-
-
Constructor Detail
-
MappingFileDescriptorImpl
public MappingFileDescriptorImpl(String name, InputStreamAccess streamAccess)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:MappingFileDescriptorThe mapping file name. This is its name within the archive, the expectation being that most times this will equate to a "classpath lookup resource name".- Specified by:
getNamein interfaceMappingFileDescriptor- Returns:
- The mapping file resource name.
-
getStreamAccess
public InputStreamAccess getStreamAccess()
Description copied from interface:MappingFileDescriptorRetrieves access to the InputStream for the mapping file.- Specified by:
getStreamAccessin interfaceMappingFileDescriptor- Returns:
- Access to the InputStream for the mapping file.
-
-