KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > communication > sms > encoder > Formatter


1 /***************************************************************************
2  * Copyright 2001-2003 The eXo Platform SARL All rights reserved. *
3  * Please look at license.txt in info directory for more license detail. *
4  **************************************************************************/

5 package org.exoplatform.services.communication.sms.encoder;
6
7 import org.exoplatform.services.communication.sms.common.ConvertException;
8
9 /**
10  * @author: Ove Ranheim
11  * @email: oranheim@users.sourceforge.net
12  */

13 public interface Formatter {
14
15     /**
16      * Formatter service identifier, like Sms operator code for different
17      * formats
18      */

19     public MessageFormat getFormat();
20
21     /**
22      * Convert source to wanted message body format
23      */

24     public Object JavaDoc convert(Object JavaDoc object) throws ConvertException;
25
26 }
Popular Tags