public class FilteredStream extends java.lang.Object implements IItemStream
Constructor and Description |
---|
FilteredStream(IItemStream reader,
ItemFilter<StreamItem> filter) |
Modifier and Type | Method and Description |
---|---|
void |
addObservers(java.util.Set<IIoObserver> observers)
Add the observers for this item stream.
|
java.lang.String |
getItemLocation()
Returns the location of the current item in the original source.
|
java.lang.String |
getStreamLocation()
Returns the location of the complete stream the original source.
|
TermUri |
getTerm()
Returns the
TermUri of this stream. |
boolean |
hasNext()
Checks the availablity of a next object in the stream.
|
StreamItem |
read()
Returns the next Object of this reader.
|
public FilteredStream(IItemStream reader, ItemFilter<StreamItem> filter)
list
- public StreamItem read()
IReader
null
if no object is left.read
in interface IReader<StreamItem>
public boolean hasNext()
IReader
hasNext
in interface IReader<StreamItem>
public TermUri getTerm()
IItemStream
TermUri
of this stream.getTerm
in interface INamespace
getTerm
in interface IItemStream
public java.lang.String getItemLocation()
IItemStream
IItemStream.getStreamLocation()
getItemLocation
in interface IItemStream
public java.lang.String getStreamLocation()
IItemStream
getStreamLocation
in interface IItemStream
IItemStream.getItemLocation()
public void addObservers(java.util.Set<IIoObserver> observers)
IItemStream
addObservers
in interface IItemStream
Copyright © 2007-2017 EDIT. All Rights Reserved.