|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Takes a input stream and parses it into a name-value Map (Hashtable). Note that some data sources (such as the B2B data source) already returns data as hash tables; they will also implement this interface
Method Summary | |
void |
addDataListener(FeedDataListener listener) Add a new listener to this data source. |
void |
dataArrived(java.io.InputStream stream) called by DataReader when new data is available on the input stream |
void |
notifyAll(java.util.Map data) Broadcast to all listeners |
void |
removeDataListener(FeedDataListener listener) Remove a active listener from this data source |
Methods inherited from interface oracle.panama.feed.FeedComponent |
getArgumentDefs, initialize |
Method Detail |
public void addDataListener(FeedDataListener listener)
addDataListener
in interface FeedObservable
public void removeDataListener(FeedDataListener listener)
removeDataListener
in interface FeedObservable
public void notifyAll(java.util.Map data)
notifyAll
in interface FeedObservable
public void dataArrived(java.io.InputStream stream) throws FeedException
FeedException
- on fatal data reading/parsing errors
|
Oracle Application Server Wireless Java API Reference B10400-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |