public static void parseLine(String line, Species s) {
        line= line.trim();
        int k= line.indexOf('=');
        if (k < 0)
            return;

        String attribute= line.substring(0,k).trim();
        String value= line.substring(k+1).trim();

        if (attribute.equals("Name")) {
            s.setName(removeQ(value));
        }
        if (attribute.equals("LatinName")) {
            s.setLatinName(removeQ(value));
        }
        if (attribute.equals("ImageFilename")) {
            s.setImageFilename(removeQ(value));
        }
        if (attribute.equals("Weight")) {
            s.setWeight(Integer.parseInt(value));
        }
        if (attribute.equals("Collected-by")) {
            s.setCollector(removeQ(value));
        }
        if (attribute.equals("DNA")) {
            s.setDNA(removeQ(value));
        }       
    }