|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.extex.interpreter.observer.eof.EofObserverList
public final class EofObserverList
This class provides a type-safe list of observers for the eof event.
| Constructor Summary | |
|---|---|
EofObserverList()
|
|
| Method Summary | |
|---|---|
void |
add(EofObserver observer)
Add an observer to the list. |
static EofObserver |
register(EofObserver list,
EofObserver observer)
Take a list and add an observer. |
void |
update()
Invoke all observers on the list to inform them of an eof on the input stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EofObserverList()
| Method Detail |
|---|
public static EofObserver register(EofObserver list,
EofObserver observer)
null then
a new one is created.
list - the input list or nullobserver - the observer to add
public void add(EofObserver observer)
observer - the observer to add to the listpublic void update()
update in interface EofObserver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||