Code example for Timestamp

Methods: toString

0
		 
		mProperties.put("magicgourd:id", USER_ID + fileID);
		mProperties.put("magicgourd:owner", uploadApp.getCurrentConnection().getUsername());
		mProperties.put("magicgourd:size", Long.toString(srcFile.length()));
			//����timestamp 
		Timestamp t = new Timestamp(new Date().getTime());
		mProperties.put("magicgourd:timestamp", t.toString());
		 
		Log.i(TAG, "UploadInfo:srcFilePath=" + srcFilePath + ";dstUrl=" + dstUrl + ";fileName=" + fileName
					+ ";suffix=" + suffix);
	} 
	 
 
	public void startUpload() 
	{ 
		if((srcFile.length() <= 5242880) && ("txt".equals(suffix) || "doc".equals(suffix) || "docx".equals(suffix) || "pdf".equals(suffix) 
				|| "ppt".equals(suffix) || "pptx".equals(suffix)))// TODO ֱ���ϴ���SVN���������ļ�����
		{ 
			mProperties.put("magicgourd:ismail", Integer.toString(0));
			importToSVN(); 
		}