Package org.hibernate.boot.archive.spi
Class AbstractArchiveDescriptor
- java.lang.Object
-
- org.hibernate.boot.archive.spi.AbstractArchiveDescriptor
-
- All Implemented Interfaces:
ArchiveDescriptor
public abstract class AbstractArchiveDescriptor extends java.lang.Object implements ArchiveDescriptor
Base support for ArchiveDescriptor implementors.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, java.net.URL archiveUrl, java.lang.String entryBasePrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected InputStreamAccessbuildByteBasedInputStreamAccess(java.lang.String name, java.io.InputStream inputStream)protected java.lang.StringextractName(java.util.zip.ZipEntry zipEntry)protected java.lang.StringextractRelativeName(java.util.zip.ZipEntry zipEntry)protected ArchiveDescriptorFactorygetArchiveDescriptorFactory()protected java.net.URLgetArchiveUrl()protected java.lang.StringgetEntryBasePrefix()protected java.lang.StringnormalizePathName(java.lang.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, java.net.URL archiveUrl, java.lang.String entryBasePrefix)
-
-
Method Detail
-
getArchiveDescriptorFactory
protected ArchiveDescriptorFactory getArchiveDescriptorFactory()
-
getArchiveUrl
protected java.net.URL getArchiveUrl()
-
getEntryBasePrefix
protected java.lang.String getEntryBasePrefix()
-
extractRelativeName
protected java.lang.String extractRelativeName(java.util.zip.ZipEntry zipEntry)
-
extractName
protected java.lang.String extractName(java.util.zip.ZipEntry zipEntry)
-
normalizePathName
protected java.lang.String normalizePathName(java.lang.String pathName)
-
buildByteBasedInputStreamAccess
protected InputStreamAccess buildByteBasedInputStreamAccess(java.lang.String name, java.io.InputStream inputStream)
-
-