|
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.BundleEntry
This class represents an entry in a BundleFile. Objects of this type are returned by calling BundleFile.getEntry(String).
Inner Class Summary | |
static class |
BundleEntry.OSMemory
Implementation of BundleEntry using an OSMemory for the storage. |
Method Summary | |
abstract java.io.InputStream |
getInputStream()
Return an InputStream for the entry. |
abstract java.lang.String |
getName()
Return the name of the entry. |
abstract long |
getSize()
Return the size of the entry (uncompressed). |
long |
getTime()
Get the modification time for this BundleEntry. |
void |
setTime(long time)
Set the modification time for this BundleEntry. |
BundleFile |
toBundleFile()
Create a BundleFile object which uses this entry for the bundle storage. |
java.lang.String |
toString()
Return the name of this BundleEntry by calling getName(). |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public abstract java.io.InputStream getInputStream() throws java.io.IOException
java.io.IOException
- If an error occurs reading the bundle.public abstract long getSize()
public abstract java.lang.String getName()
public void setTime(long time)
time
- last modification time.public long getTime()
If the modification time has not been set, this method will return -1.
public java.lang.String toString()
toString
in class java.lang.Object
public BundleFile toBundleFile()
|
Service Management Framework Release 3.1 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |