Code example for CharArrayWriter

Methods: reset, toString

0
			tempEvent.setEventImage(tempString);
		} 
		if(qName.equalsIgnoreCase("starttime")){
			try {   
				//Log.d("TIMESTART", tempString); 
			    Date time = format.parse(dateWriter.toString());  
			     
			    tempEvent.addStartTime(time);
				 
				writingDate = false;
				dateWriter.reset();
			} catch (java.text.ParseException e) {
				// TODO Auto-generated catch block 
				tempString="";
 
				e.printStackTrace();
			} 
			finally{} 
		} 
		 
		if(qName.equalsIgnoreCase("endtime")){
			try {   
				//Log.d("TIMEEND", tempString); 
			    Date time = format.parse(dateWriter.toString());  
				tempEvent.addEndTime(time);
				tempString="";
				writingDate = false;
				dateWriter.reset();
 
			} catch (java.text.ParseException e) {
				// TODO Auto-generated catch block 
				//Log.d("ERROR", tempEvent.getEventName()); 
				//Log.d("ERROR", tempString);