Module org.eclipse.persistence.jpa
Class ArchiveBase
java.lang.Object
org.eclipse.persistence.internal.jpa.deployment.ArchiveBase
- Direct Known Subclasses:
DirectoryArchive
,DirectoryInsideJarURLArchive
,JarFileArchive
,JarInputStreamURLArchive
,URLArchive
Abstract base class of all Archives. Holds the base URL and the location of the persistence
descriptor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract InputStream
void
setDescriptorLocation
(String descriptorLocation) void
setRootURL
(URL rootURL) toString()
-
Field Details
-
rootURL
-
descriptorLocation
-
-
Constructor Details
-
ArchiveBase
public ArchiveBase()Default Constructor. If you use this constructor, this class will assume you set the rootURL and descriptorLocation prior to using it -
ArchiveBase
-
-
Method Details
-
getDescriptorStream
- Throws:
IOException
-
getEntry
- Throws:
IOException
-
getRootURL
-
setRootURL
-
getDescriptorLocation
-
setDescriptorLocation
-
toString
-