Class PackageDescriptorImpl
- java.lang.Object
-
- org.hibernate.boot.archive.scan.internal.PackageDescriptorImpl
-
- All Implemented Interfaces:
Serializable
,PackageDescriptor
public class PackageDescriptorImpl extends Object implements PackageDescriptor, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PackageDescriptorImpl(String name, InputStreamAccess streamAccess)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getName()
Retrieves the package name.InputStreamAccess
getStreamAccess()
Retrieves access to the InputStream for thepackage-info.class
file.int
hashCode()
-
-
-
Constructor Detail
-
PackageDescriptorImpl
public PackageDescriptorImpl(String name, InputStreamAccess streamAccess)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:PackageDescriptor
Retrieves the package name.- Specified by:
getName
in interfacePackageDescriptor
- Returns:
- The package name
-
getStreamAccess
public InputStreamAccess getStreamAccess()
Description copied from interface:PackageDescriptor
Retrieves access to the InputStream for thepackage-info.class
file.- Specified by:
getStreamAccess
in interfacePackageDescriptor
- Returns:
- Access to the InputStream for the
package-info.class
file.
-
-