Package org.hibernate.boot.archive.spi
Class AbstractArchiveDescriptor
java.lang.Object
org.hibernate.boot.archive.spi.AbstractArchiveDescriptor
- All Implemented Interfaces:
ArchiveDescriptor
- Direct Known Subclasses:
ExplodedArchiveDescriptor
,JarFileBasedArchiveDescriptor
,JarInputStreamBasedArchiveDescriptor
Base support for ArchiveDescriptor implementors.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AbstractArchiveDescriptor
(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix) -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStreamAccess
buildByteBasedInputStreamAccess
(String name, InputStream inputStream) protected String
extractName
(ZipEntry zipEntry) protected String
extractRelativeName
(ZipEntry zipEntry) protected ArchiveDescriptorFactory
protected URL
protected String
protected String
normalizePathName
(String pathName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.hibernate.boot.archive.spi.ArchiveDescriptor
visitArchive
-
Constructor Details
-
AbstractArchiveDescriptor
protected AbstractArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix)
-
-
Method Details
-
getArchiveDescriptorFactory
-
getArchiveUrl
-
getEntryBasePrefix
-
extractRelativeName
-
extractName
-
normalizePathName
-
buildByteBasedInputStreamAccess
-