Code example for TreeMap

Methods: put

0
	String token=null;
 
	 
	// format becomes  api.dropio.com/prefix/dropName/suffix? parm1=1... 
 
	TreeMap<String,String> standardParms=new TreeMap<String,String>();
	HttpResponse restResponse;
	HttpClient restClient;
	String apiServer = "http://api.drop.io";
	String uploadServer = "http://assets.drop.io/upload";
	String callId;
	TreeMap<String,String> dropParms=new TreeMap<String,String>();
	int connectionTimeout=10000;
 
 
	public DroidDropNoteClient( ){ 
 
		standardParms.put("version", version);
		standardParms.put("format", format);
 
 
 
 
 
	} 
 
 
	public DroidDropNoteClient( String apiKey){
		this(); 
		this.apiKey=apiKey;
		standardParms.put("api_key", apiKey);
 
	} 
 
	public DroidDropNoteClient( String apiKey,  String token){
		this(apiKey);
		this.token=token;
		standardParms.put("token", token);
	} 
 
	public DroidDropNoteClient( String apiKey,  String token, String versionParm, String formatParm){
		this(apiKey,token);
		version=versionParm;