|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Archive
Provides an abstraction to deal with various kinds of URLs that can
be returned by
PersistenceUnitInfo.getPersistenceUnitRootUrl()
ArchiveFactoryImpl| Method Summary | |
|---|---|
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()
|
| Method Detail |
|---|
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.
IOExceptionURL getRootURL()
InputStream getDescriptorStream()
throws IOException
IOExceptionvoid close()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||