Class PolygonLoader



  • public class PolygonLoader
    extends Object
    • Constructor Detail

      • PolygonLoader

        public PolygonLoader()
    • Method Detail

      • readPolygon

        public static Geometry readPolygon(String filename)
                                    throws IOException
        Load a polygon from a file trying different formats.
        Parameters:
        filename - the file to read from.
        Returns:
        the read polygon or null on failure.
        Throws:
        IOException - if the file cannot be read.