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.IOException
URL getEntryAsURL(String entryPath) throws IOException
entryPath
- the file name relative to the root of the module.IOException
URL getRootURL()
InputStream getDescriptorStream() throws IOException
IOException
void close()
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.