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 import org.exoplatform.services.communication.sms.common.OperationNotSupported;9 import org.exoplatform.services.communication.sms.encoder.Formatter;10 import org.exoplatform.services.communication.sms.encoder.MessageFormat;11 12 /**13 * 14 * @author: Ove Ranheim15 * @email: oranheim@users.sourceforge.net16 */17 public class VCalendarFormatter implements Formatter {18 19 private static Formatter _me;20 21 public VCalendarFormatter() {22 }23 24 public MessageFormat getFormat() {25 return MessageFormat.VCALENDAR;26 }27 28 public Object convert(Object object) throws ConvertException {29 throw new OperationNotSupported("Not yet implemented!");30 }31 32 public static Formatter getInstance() {33 if (_me == null) _me = new VCalendarFormatter();34 return _me;35 }36 }37 38