public interface Archive
PersistenceUnitInfo.getPersistenceUnitRootUrl()
ArchiveFactoryImpl
Modifier and Type | Method and Description |
---|---|
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()
Copyright © 2021. All rights reserved.