|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
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. |
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() |
Method Detail |
---|
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.IOException
java.net.URL getRootURL()
java.io.InputStream getDescriptorStream() throws java.io.IOException
java.io.IOException
void close()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |