Class RegionsKML


  • public class RegionsKML
    extends java.lang.Object
    Custom formatting for gov.usgs.earthquake.qdm.Regions.
    • Constructor Summary

      Constructors 
      Constructor Description
      RegionsKML()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String formatKML​(Regions regions)
      Output ANSS Authoritative Regions in KML format.
      static void main​(java.lang.String[] args)
      Download ANSS Authoritative Regions, and print to console in Regions KML format.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RegionsKML

        public RegionsKML()
    • Method Detail

      • formatKML

        public java.lang.String formatKML​(Regions regions)
        Output ANSS Authoritative Regions in KML format.
        Parameters:
        regions - ANSS Authoritative regions
        Returns:
        string of ANSS regions in KML format
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Download ANSS Authoritative Regions, and print to console in Regions KML format.
        Parameters:
        args - Console arguments
        Throws:
        java.lang.Exception - if error occurs