|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.unikiel.ipn.htmlform.SimpleAppender
This Class provides a simple Appender
implementation.
It changes files based only on the information
stored in the Entry
objects.
Constructor Summary | |
(package private) |
SimpleAppender(MessageHandler handler)
Creates a new instance. |
Method Summary | |
void |
append(Entry[] entries)
Applies all changes that are stored in the entries. |
void |
handleMessage(Message msg)
Forwards the Message to the successor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
SimpleAppender(MessageHandler handler)
handler
- the MessageHandler that shall handle occuring
error messages.
java.lang.NullPointerException
- if handler == null
Method Detail |
public void append(Entry[] entries)
append
in interface Appender
entries
- an array containing the Entry
objects
java.lang.ArrayIndexOutOfBoundsException
- when entries.length == 0
java.lang.NullPointerException
- when entries == nullEntry
public void handleMessage(Message msg)
handleMessage
in interface MessageHandler
msg
- the message that shall be passed to the successor.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |