// Path: srcTools/magma/tools/benchmark/model/InvalidConfigFileException.java
// public class InvalidConfigFileException extends Exception
// {
// 	public InvalidConfigFileException(String message)
// 	{
// 		super(message);
// 	}
// 
// 	public InvalidConfigFileException(Throwable cause)
// 	{
// 		super(cause);
// 	}
// 
// 	public InvalidConfigFileException(String message, Throwable cause)
// 	{
// 		super(message, cause);
// 	}
// }
// 
// Path: srcTools/magma/tools/benchmark/model/TeamConfiguration.java
// public class TeamConfiguration
// {
// 	private final String name;
// 
// 	private final String path;
// 
// 	private final float dropHeight;
// 
// 	public TeamConfiguration(String name, String path, float dropHeight)
// 	{
// 		this.name = name;
// 		this.path = path;
// 		this.dropHeight = dropHeight;
// 	}
// 
// 	public String getName()
// 	{
// 		return name;
// 	}
// 
// 	public String getPath()
// 	{
// 		return path;
// 	}
// 
// 	/**
// 	 * @return the dropHeight of the player
// 	 */
// 	public float getDropHeight()
// 	{
// 		return dropHeight;
// 	}
// }


import hso.autonomy.util.file.CSVFileUtil;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import magma.tools.benchmark.model.InvalidConfigFileException;
import magma.tools.benchmark.model.TeamConfiguration;
/* Copyright 2009 Hochschule Offenburg
 * Klaus Dorer, Mathias Ehret, Stefan Glaser, Thomas Huber,
 * Simon Raffeiner, Srinivasa Ragavan, Thomas Rinklin,
 * Joachim Schilling, Rajit Shahi
 *
 * This file is part of magmaOffenburg.
 *
 * magmaOffenburg is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * magmaOffenburg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with magmaOffenburg. If not, see <http://www.gnu.org/licenses/>.
 */

package magma.tools.benchmark.model.bench;


/**
 *
 * @author kdorer
 */
public class ConfigLoader
{
// Path: srcTools/magma/tools/benchmark/model/InvalidConfigFileException.java
// public class InvalidConfigFileException extends Exception
// {
// 	public InvalidConfigFileException(String message)
// 	{
// 		super(message);
// 	}
// 
// 	public InvalidConfigFileException(Throwable cause)
// 	{
// 		super(cause);
// 	}
// 
// 	public InvalidConfigFileException(String message, Throwable cause)
// 	{
// 		super(message, cause);
// 	}
// }
// 
// Path: srcTools/magma/tools/benchmark/model/TeamConfiguration.java
// public class TeamConfiguration
// {
// 	private final String name;
// 
// 	private final String path;
// 
// 	private final float dropHeight;
// 
// 	public TeamConfiguration(String name, String path, float dropHeight)
// 	{
// 		this.name = name;
// 		this.path = path;
// 		this.dropHeight = dropHeight;
// 	}
// 
// 	public String getName()
// 	{
// 		return name;
// 	}
// 
// 	public String getPath()
// 	{
// 		return path;
// 	}
// 
// 	/**
// 	 * @return the dropHeight of the player
// 	 */
// 	public float getDropHeight()
// 	{
// 		return dropHeight;
// 	}
// }


// Path: srcTools/magma/tools/benchmark/model/bench/ConfigLoader.java
import hso.autonomy.util.file.CSVFileUtil;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import magma.tools.benchmark.model.InvalidConfigFileException;
import magma.tools.benchmark.model.TeamConfiguration;

/* Copyright 2009 Hochschule Offenburg
 * Klaus Dorer, Mathias Ehret, Stefan Glaser, Thomas Huber,
 * Simon Raffeiner, Srinivasa Ragavan, Thomas Rinklin,
 * Joachim Schilling, Rajit Shahi
 *
 * This file is part of magmaOffenburg.
 *
 * magmaOffenburg is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * magmaOffenburg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with magmaOffenburg. If not, see <http://www.gnu.org/licenses/>.
 */

package magma.tools.benchmark.model.bench;


/**
 *
 * @author kdorer
 */
public class ConfigLoader
{
	public List<TeamConfiguration> loadConfigFile(File file) throws InvalidConfigFileException