public interface Archive
PersistenceUnitInfo.getPersistenceUnitRootUrl()ArchiveFactoryImpl| Modifier and Type | Method and Description | 
|---|---|
void | 
close()
Close this archive and associated InputStream. 
 | 
java.io.InputStream | 
getDescriptorStream()  | 
java.util.Iterator<java.lang.String> | 
getEntries()
Returns an  
Iterator of the file entries. | 
java.io.InputStream | 
getEntry(java.lang.String entryPath)
Returns the InputStream for the given entry name. 
 | 
java.net.URL | 
getEntryAsURL(java.lang.String entryPath)
Returns the URL for the given entry name. 
 | 
java.net.URL | 
getRootURL()  | 
java.util.Iterator<java.lang.String> getEntries()
Iterator of the file entries. Each String represents a file name relative to the root of the module.
java.io.InputStream getEntry(java.lang.String entryPath)
                             throws java.io.IOException
entryPath - the file name relative to the root of the module.java.io.IOException
java.net.URL getEntryAsURL(java.lang.String entryPath)
                           throws java.io.IOException
entryPath - the file name relative to the root of the module.java.io.IOExceptionjava.net.URL getRootURL()
java.io.InputStream getDescriptorStream()
                                        throws java.io.IOException
java.io.IOExceptionvoid close()