public class StreamFromBundle extends Object implements BundleStreamSource
BundleStreamSource.Event
Modifier and Type | Field and Description |
---|---|
(package private) MultipleObjectsBundle |
bundle
Bundle to access
|
(package private) int |
onum
Offset in bundle
|
Constructor and Description |
---|
StreamFromBundle(MultipleObjectsBundle bundle)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
data(int rnum)
Access a particular object and representation.
|
BundleMeta |
getMeta()
Get the current meta data.
|
BundleStreamSource.Event |
nextEvent()
Get the next event
|
MultipleObjectsBundle bundle
int onum
public StreamFromBundle(MultipleObjectsBundle bundle)
bundle
- Existing object bundlepublic BundleMeta getMeta()
BundleStreamSource
getMeta
in interface BundleStreamSource
public Object data(int rnum)
BundleStreamSource
data
in interface BundleStreamSource
rnum
- Representation numberpublic BundleStreamSource.Event nextEvent()
BundleStreamSource
nextEvent
in interface BundleStreamSource