public void parseLine(DocData docData, String line) {String[] parts = line.split("\\t", 7);docData.setID(Integer.parseInt(parts[0]));docData.setName(parts[1]);String latitude = parts[4];String longitude = parts[5];docData.setBody("POINT("+longitude+" "+latitude+")");}

public override void ParseLine(DocData docData, string line){string[] parts = new Regex("\\t").Split(line, 7);docData.ID = Convert.ToInt32(parts[0], CultureInfo.InvariantCulture);docData.Name = parts[1];string latitude = parts[4];string longitude = parts[5];docData.Body = "POINT(" + longitude + " " + latitude + ")";}
