public void startSync(){
  startTime=System.currentTimeMillis();
  hostConnection=new HostConnection(hostInfo);
  hostConnection.setProtocol(HostConnection.PROTOCOL_HTTP);
  syncItemIterator=syncItems.iterator();
  nextSync();
}

public void startSync ( ) { startTime = System . currentTimeMillis ( ) ; hostConnection = new HostConnection ( hostInfo ) ; hostConnection . setProtocol ( HostConnection . PROTOCOL_HTTP ) ; syncItemIterator = syncItems . iterator ( ) ; nextSync ( ) ; }
starts the syncing process
