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
ConstructorsModifierConstructorDescriptionprotectedAbstractArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix) -
Method Summary
Modifier and TypeMethodDescriptionprotected InputStreamAccessbuildByteBasedInputStreamAccess(String name, InputStream inputStream) protected StringextractName(ZipEntry zipEntry) protected StringextractRelativeName(ZipEntry zipEntry) protected ArchiveDescriptorFactoryprotected URLprotected Stringprotected StringnormalizePathName(String pathName) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.boot.archive.spi.ArchiveDescriptor
findEntry, visitArchive
-
Constructor Details
-
AbstractArchiveDescriptor
protected AbstractArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix)
-
-
Method Details
-
getArchiveDescriptorFactory
-
getArchiveUrl
-
getEntryBasePrefix
-
extractRelativeName
-
extractName
-
normalizePathName
-
buildByteBasedInputStreamAccess
-