cz.cuni.amis.pogamut.defcon.communication.worldview.polygons.loaders.borders
Class FilePrecomputedBordersLoader

Package class diagram package FilePrecomputedBordersLoader
java.lang.Object
  extended by cz.cuni.amis.pogamut.defcon.communication.worldview.polygons.loaders.borders.FilePrecomputedBordersLoader
All Implemented Interfaces:
IPrecomputedBordersLoader

public class FilePrecomputedBordersLoader
extends Object
implements IPrecomputedBordersLoader

Loads borders (contours) from a given path.

Author:
Radek 'Black_Hand' Pibil

Constructor Summary
FilePrecomputedBordersLoader(String pathString)
           
FilePrecomputedBordersLoader(String pathString, Logger log)
           
 
Method Summary
 String getPathString()
           
 List<List<DefConLocation>> loadBordersForTerritory(String fileName)
          Loads borders from a given file name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilePrecomputedBordersLoader

public FilePrecomputedBordersLoader(String pathString)

FilePrecomputedBordersLoader

public FilePrecomputedBordersLoader(String pathString,
                                    Logger log)
Method Detail

loadBordersForTerritory

public List<List<DefConLocation>> loadBordersForTerritory(String fileName)
                                                   throws NumberFormatException,
                                                          IOException
Description copied from interface: IPrecomputedBordersLoader
Loads borders from a given file name.

Specified by:
loadBordersForTerritory in interface IPrecomputedBordersLoader
Returns:
Throws:
NumberFormatException
FileNotFoundException
IOException

getPathString

public String getPathString()


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.