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 protectedAbstractArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InputStreamAccessbuildByteBasedInputStreamAccess(String name, InputStream inputStream)protected StringextractName(ZipEntry zipEntry)protected StringextractRelativeName(ZipEntry zipEntry)protected ArchiveDescriptorFactorygetArchiveDescriptorFactory()protected URLgetArchiveUrl()protected StringgetEntryBasePrefix()protected StringnormalizePathName(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)
-
-