KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > sync4j > syncclient > demo > ConfigurationParameters


1 /**
2  * Copyright (C) 2003-2005 Funambol
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  */

18
19 package sync4j.syncclient.demo;
20
21 /**
22  * Configuration parameters.
23  *
24  * @author Fabio Maggi @ Funambol
25  * @version $Id: ConfigurationParameters.java,v 1.4 2005/01/19 11:01:11 fabius Exp $
26  */

27 public interface ConfigurationParameters {
28
29     //---------------------------------------------------------- Constants
30

31     public final static String JavaDoc KEY_CONFIG = "Config" ;
32     public final static String JavaDoc KEY_CALENDARLIST = "CalendarList" ;
33     public final static String JavaDoc KEY_CALENDARMODIFY = "CalendarModify" ;
34     public final static String JavaDoc KEY_CALENDARNEW = "NewContact" ;
35     public final static String JavaDoc KEY_CONTACTLIST = "ContactList" ;
36     public final static String JavaDoc KEY_CONTACTMODIFY = "ContactModify" ;
37     public final static String JavaDoc KEY_CONTACTNEW = "NewCalendar" ;
38     public final static String JavaDoc KEY_SYNC = "Sync" ;
39
40     public final static String JavaDoc PARAM_ADJUSTDATE = "adjust-date" ;
41     public final static String JavaDoc PARAM_DEVICEID = "device-id" ;
42     public final static String JavaDoc PARAM_LOGLEVEL = "log-level" ;
43     public final static String JavaDoc PARAM_MESSAGETYPE = "message-type" ;
44     public final static String JavaDoc PARAM_PASSWORD = "password" ;
45     public final static String JavaDoc PARAM_SOURCEURI = "sourceURI" ;
46     public final static String JavaDoc PARAM_SOURCEURICALENDAR = "sourceCalendarURI" ;
47     public final static String JavaDoc PARAM_SOURCEURICONTACT = "sourceContactURI" ;
48     public final static String JavaDoc PARAM_SYNCCALENDAR = "sync-calendar" ;
49     public final static String JavaDoc PARAM_SYNCCONTACT = "sync-contact" ;
50     public final static String JavaDoc PARAM_SYNCMLURL = "syncml-url" ;
51     public final static String JavaDoc PARAM_SYNCMODE = "sync" ;
52     public final static String JavaDoc PARAM_SYNCSOURCEURI = "sourceURI" ;
53     public final static String JavaDoc PARAM_TARGETLOCALURI = "target-local-uri" ;
54     public final static String JavaDoc PARAM_USERNAME = "username" ;
55
56     public final static String JavaDoc MESSAGE_XML
57         = "application/vnd.syncml+xml" ;
58     public final static String JavaDoc MESSAGE_WBXML
59         = "application/vnd.syncml+wbxml" ;
60
61     public final static String JavaDoc LOG_INFO = "info" ;
62     public final static String JavaDoc LOG_DEBUG = "debug" ;
63     public final static String JavaDoc LOG_NONE = "none" ;
64
65     public static final String JavaDoc FRAME_ICONNAME = "fsc.gif" ;
66
67     //---------------------------------------------------------- Private data
68

69 }
Popular Tags