public static void main(String[] args) {
		URL url;
		HttpURLConnection conn;
		ParseXML meter = new ParseXML();
		List<SmartMeter> meters = null;
		try {
			url = new URL("http://192.168.0.195/MeterDataCache.xml");
			conn = (HttpURLConnection)url.openConnection();
			conn.connect();
			meters = meter.getMeters(conn.getInputStream());
		} catch (MalformedURLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		Iterator<SmartMeter> it = meters.iterator();
		SmartMeter sm = new SmartMeter();
		while(it.hasNext()){
			sm = it.next();
			print(sm.getMeterID() + "," + sm.getMeterName() + "," + sm.getValue1());
		}
		
		
		
	}