com.ibm.osg.smf.platform
Class BundleEntry.OSMemory
java.lang.Object
|
+--com.ibm.osg.smf.platform.BundleEntry
|
+--com.ibm.osg.smf.platform.BundleEntry.OSMemory
- Enclosing class:
- BundleEntry
- public static class BundleEntry.OSMemory
- extends BundleEntry
Implementation of BundleEntry using an OSMemory for the storage.
This class is only for use when running on IBM VisualAge Micro Edition.
Constructor Summary |
BundleEntry.OSMemory(com.ibm.ive.osMemory.OSMemory osMemory,
java.lang.String name)
Construct a BundleEntry using an OSMemory object. |
Method Summary |
java.io.InputStream |
getInputStream()
Return an InputStream for the entry. |
java.lang.String |
getName()
Return the name of the entry. |
long |
getSize()
Return the size of the entry (uncompressed). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BundleEntry.OSMemory
public BundleEntry.OSMemory(com.ibm.ive.osMemory.OSMemory osMemory,
java.lang.String name)
- Construct a BundleEntry using an OSMemory object.
- Parameters:
osMemory
- OSMemory object containing the entry.name
- Name of BundleEntry.
getInputStream
public java.io.InputStream getInputStream()
throws java.io.IOException
- Description copied from class:
BundleEntry
- Return an InputStream for the entry.
- Overrides:
getInputStream
in class BundleEntry
- Following copied from class:
com.ibm.osg.smf.platform.BundleEntry
- Returns:
- InputStream for the entry.
- Throws:
java.io.IOException
- If an error occurs reading the bundle.
getSize
public long getSize()
- Description copied from class:
BundleEntry
- Return the size of the entry (uncompressed).
- Overrides:
getSize
in class BundleEntry
- Following copied from class:
com.ibm.osg.smf.platform.BundleEntry
- Returns:
- size of entry.
getName
public java.lang.String getName()
- Description copied from class:
BundleEntry
- Return the name of the entry.
- Overrides:
getName
in class BundleEntry
- Following copied from class:
com.ibm.osg.smf.platform.BundleEntry
- Returns:
- name of entry.
Licensed Materials - Property of IBM. (C) Copyright IBM Corp. 2000, 2002 All Rights Reserved. IBM is a registered trademark of IBM Corp.