View Javadoc

1   package cz.cuni.amis.pogamut.defcon.communication.worldview.polygons.loaders.borders;
2   
3   import java.io.FileNotFoundException;
4   import java.io.IOException;
5   import java.util.List;
6   
7   import cz.cuni.amis.pogamut.defcon.base3d.worldview.object.DefConLocation;
8   
9   /**
10   * Interface for loading of saved borders.
11   * 
12   * @author Radek 'Black_Hand' Pibil
13   * 
14   */
15  public interface IPrecomputedBordersLoader {
16  
17  	/**
18  	 * Loads borders from a given file name.
19  	 * 
20  	 * @param fileName
21  	 * @return
22  	 * @throws FileNotFoundException
23  	 * @throws NumberFormatException
24  	 * @throws IOException
25  	 */
26  	List<List<DefConLocation>> loadBordersForTerritory(String fileName)
27  			throws FileNotFoundException, NumberFormatException, IOException;
28  }