类 AbstractArchiveDescriptorFactory
- java.lang.Object
-
- org.hibernate.boot.archive.spi.AbstractArchiveDescriptorFactory
-
- 所有已实现的接口:
ArchiveDescriptorFactory
public abstract class AbstractArchiveDescriptorFactory extends Object implements ArchiveDescriptorFactory
- 作者:
- Steve Ebersole
-
-
构造器概要
构造器 构造器 说明 AbstractArchiveDescriptorFactory()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 ArchiveDescriptorbuildArchiveDescriptor(URL url)Build a descriptor of the archive indicated by the given urlURLgetJarURLFromURLEntry(URL url, String entry)Given a URL which defines an entry within a JAR (really any "bundled archive" such as a jar file, zip, etc) and an entry within that JAR, find the URL to the JAR itself.URLgetURLFromPath(String jarPath)Not used!-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.boot.archive.spi.ArchiveDescriptorFactory
buildArchiveDescriptor
-
-
-
-
方法详细资料
-
buildArchiveDescriptor
public ArchiveDescriptor buildArchiveDescriptor(URL url)
从接口复制的说明:ArchiveDescriptorFactoryBuild a descriptor of the archive indicated by the given url- 指定者:
buildArchiveDescriptor在接口中ArchiveDescriptorFactory- 参数:
url- The url to the archive- 返回:
- The descriptor
-
getJarURLFromURLEntry
public URL getJarURLFromURLEntry(URL url, String entry) throws IllegalArgumentException
从接口复制的说明:ArchiveDescriptorFactoryGiven a URL which defines an entry within a JAR (really any "bundled archive" such as a jar file, zip, etc) and an entry within that JAR, find the URL to the JAR itself.- 指定者:
getJarURLFromURLEntry在接口中ArchiveDescriptorFactory- 参数:
url- The URL to an entry within a JARentry- The entry that described the thing referred to by the URL relative to the JAR- 返回:
- The URL to the JAR
- 抛出:
IllegalArgumentException- Generally indicates a problem with malformed urls.
-
getURLFromPath
public URL getURLFromPath(String jarPath)
从接口复制的说明:ArchiveDescriptorFactoryNot used!- 指定者:
getURLFromPath在接口中ArchiveDescriptorFactory- 参数:
jarPath- The jar path- 返回:
- The url from the path?
-
-