public interface Archive
PersistenceUnitInfo.getPersistenceUnitRootUrl()ArchiveFactoryImpl| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this archive and associated InputStream.
|
InputStream |
getDescriptorStream() |
Iterator<String> |
getEntries()
Returns an
Iterator of the file entries. |
InputStream |
getEntry(String entryPath)
Returns the InputStream for the given entry name.
|
URL |
getEntryAsURL(String entryPath)
Returns the URL for the given entry name.
|
URL |
getRootURL() |
Iterator<String> getEntries()
Iterator of the file entries. Each String represents
a file name relative to the root of the module.InputStream getEntry(String entryPath) throws IOException
entryPath - the file name relative to the root of the module.IOExceptionURL getEntryAsURL(String entryPath) throws IOException
entryPath - the file name relative to the root of the module.IOExceptionURL getRootURL()
InputStream getDescriptorStream() throws IOException
IOExceptionvoid close()
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.