file2xliff4j
Interface Notifier


public interface Notifier

Interface to send notifications. If an implementation of this interface is passed to the converters, then may (over time) be modified to call the Notifier's sendNotification method.

An implementation will typically provide a customized implementation of the interface, which will be passed to the converter.

Author:
Weldon Whipple <weldon@lingotek.com>

Field Summary
static int ERROR
          An error notification--used as third argument to sendNotification
static int INFORMATIONAL
          An informational notification--used as third argument to sendNotification
static int WARNING
          A warning notification--used as third argument to sendNotification
 
Method Summary
 void sendNotification(java.lang.String noticeID, java.lang.String origin, int severity, java.lang.String notice)
          Send a notification
 

Field Detail

INFORMATIONAL

static final int INFORMATIONAL
An informational notification--used as third argument to sendNotification

See Also:
Constant Field Values

WARNING

static final int WARNING
A warning notification--used as third argument to sendNotification

See Also:
Constant Field Values

ERROR

static final int ERROR
An error notification--used as third argument to sendNotification

See Also:
Constant Field Values
Method Detail

sendNotification

void sendNotification(java.lang.String noticeID,
                      java.lang.String origin,
                      int severity,
                      java.lang.String notice)
                      throws ConversionNotificationException
Send a notification

Parameters:
noticeID - The identifier of this notice.
origin - The origin (originator) of the notice.
severity - The severity of the notice.
notice - The text of the message to send.
Throws:
ConversionNotificationException - If unable to send the notification