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
public abstract class AbstractArchiveDescriptor extends Object implements ArchiveDescriptor
Base support for ArchiveDescriptor implementors.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InputStreamAccess
buildByteBasedInputStreamAccess(String name, InputStream inputStream)
protected String
extractName(ZipEntry zipEntry)
protected String
extractRelativeName(ZipEntry zipEntry)
protected ArchiveDescriptorFactory
getArchiveDescriptorFactory()
protected URL
getArchiveUrl()
protected String
getEntryBasePrefix()
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 Detail
-
AbstractArchiveDescriptor
protected AbstractArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix)
-
-
Method Detail
-
getArchiveDescriptorFactory
protected ArchiveDescriptorFactory getArchiveDescriptorFactory()
-
getArchiveUrl
protected URL getArchiveUrl()
-
getEntryBasePrefix
protected String getEntryBasePrefix()
-
buildByteBasedInputStreamAccess
protected InputStreamAccess buildByteBasedInputStreamAccess(String name, InputStream inputStream)
-
-