|
Service Management Framework Release 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.osg.smf.platform.BundleFile | +--com.ibm.osg.smf.platform.BundleFile.OSMemory
Implementation of BundleFile using an OSMemory for the bundle storage.
This class is only for use when running on IBM VisualAge Micro Edition.
Inner classes inherited from class com.ibm.osg.smf.platform.BundleFile |
BundleFile.File, BundleFile.OSMemory |
Constructor Summary | |
BundleFile.OSMemory(com.ibm.ive.osMemory.OSMemory osMemory,
java.lang.String name)
Construct a BundleFile from an OSMemory. |
Method Summary | |
void |
close()
Closes the BundleFile. |
BundleEntry |
getEntry(java.lang.String name)
Returns a BundleEntry object for the named entry in the bundle. |
java.io.InputStream |
getInputStream()
Return an InputStream for the bundle. |
java.lang.String |
getName()
Return name of the bundle. |
long |
getSize()
Returns size of the bundle. |
void |
open()
Open the BundleFile. |
com.ibm.oti.vm.Jxe |
toJxe()
Create and return a Jxe object for the bundle. |
Methods inherited from class com.ibm.osg.smf.platform.BundleFile |
toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BundleFile.OSMemory(com.ibm.ive.osMemory.OSMemory osMemory, java.lang.String name) throws java.io.IOException
This method is only for use when running on IBM VisualAge Micro Edition.
osMemory
- OSMemory object containing a bundle.name
- Name of the OSMemory object.java.io.IOException
- If an error occurs opening the bundle.Method Detail |
public void open() throws java.io.IOException
BundleFile
open
in class BundleFile
com.ibm.osg.smf.platform.BundleFile
java.io.IOException
- If an error occurs opening the bundle.public void close()
BundleFile
close
in class BundleFile
public BundleEntry getEntry(java.lang.String name)
BundleFile
getEntry
in class BundleFile
com.ibm.osg.smf.platform.BundleFile
name
- Name of the entry in the bundle.public java.io.InputStream getInputStream() throws java.io.IOException
BundleFile
getInputStream
in class BundleFile
com.ibm.osg.smf.platform.BundleFile
java.io.IOException
- If an error occurs reading the bundle.public long getSize()
BundleFile
getSize
in class BundleFile
com.ibm.osg.smf.platform.BundleFile
public java.lang.String getName()
BundleFile
getName
in class BundleFile
com.ibm.osg.smf.platform.BundleFile
public com.ibm.oti.vm.Jxe toJxe() throws com.ibm.oti.vm.JxeException, java.io.IOException
BundleFile
This method is only for use when running on IBM VisualAge Micro Edition.
toJxe
in class BundleFile
com.ibm.osg.smf.platform.BundleFile
java.io.IOException
- If an error occurs reading the bundle.com.ibm.oti.vm.JxeException
- If an error occurs creating the Jxe object.
|
Service Management Framework Release 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |