Top Description Fields Constructors Methods
org.hibernate.boot.archive.spi

public abstract Class AbstractArchiveDescriptor

extends Object
implements ArchiveDescriptor
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.archive.spi.ArchiveDescriptor
Known Direct Subclasses
org.hibernate.boot.archive.internal.ExplodedArchiveDescriptor, org.hibernate.boot.archive.internal.JarFileBasedArchiveDescriptor, org.hibernate.boot.archive.internal.JarInputStreamBasedArchiveDescriptor
Imports
java.io.InputStream, java.net.URL, java.util.zip.ZipEntry, org.hibernate.boot.archive.internal.ByteArrayInputStreamAccess, .ArchiveHelper, org.hibernate.internal.util.StringHelper

Base support for ArchiveDescriptor implementors.
Author
Steve Ebersole

Field Summary

Modifier and TypeField and Description
private final ArchiveDescriptorFactory
private final URL
private final String

Constructor Summary

AccessConstructor and Description
protected
AbstractArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix)

Method Summary

Modifier and TypeMethod and Description
protected InputStreamAccess
protected String
protected String
protected ArchiveDescriptorFactory
protected URL
protected String
private static String
protected String
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

archiveDescriptorFactoryback to summary
private final ArchiveDescriptorFactory archiveDescriptorFactory
archiveUrlback to summary
private final URL archiveUrl
entryBasePrefixback to summary
private final String entryBasePrefix

Constructor Detail

AbstractArchiveDescriptorback to summary
protected AbstractArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix)

Method Detail

buildByteBasedInputStreamAccessback to summary
protected InputStreamAccess buildByteBasedInputStreamAccess(final String name, InputStream inputStream)
extractNameback to summary
protected String extractName(ZipEntry zipEntry)
extractRelativeNameback to summary
protected String extractRelativeName(ZipEntry zipEntry)
getArchiveDescriptorFactoryback to summary
protected ArchiveDescriptorFactory getArchiveDescriptorFactory()
Annotations
@SuppressWarnings:UnusedDeclaration
getArchiveUrlback to summary
protected URL getArchiveUrl()
getEntryBasePrefixback to summary
protected String getEntryBasePrefix()
normalizeEntryBasePrefixback to summary
private static String normalizeEntryBasePrefix(String entryBasePrefix)
normalizePathNameback to summary
protected String normalizePathName(String pathName)