eu.etaxonomy.cdm.model.location
Class Point.CoordinateParser

java.lang.Object
  extended by eu.etaxonomy.cdm.model.location.Point.CoordinateParser
Enclosing class:
Point

public static final class Point.CoordinateParser
extends Object


Method Summary
static Point.Sexagesimal parseLatitude(String strg)
          Parst einen Breitengrad der Form
G°M'S""(OEW)
Die Formen
G°(OEW)
G°M'(OEW)
sind ebenfalls erlaubt.
static Point.Sexagesimal parseLongitude(String strg)
          Parst einen Längengrad der Form
G°M'S"(NS)
Die Formen
G°(NS)
G°M'(NS)
sind ebenfalls erlaubt.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parseLatitude

public static Point.Sexagesimal parseLatitude(String strg)
                                       throws ParseException
Parst einen Breitengrad der Form
G°M'S""(OEW)
Die Formen
G°(OEW)
G°M'(OEW)
sind ebenfalls erlaubt.

Parameters:
strg -
Returns:
Die geparsten Koordinaten
Throws:
ParseException - Wenn eine Fehler beim Parsen aufgetreten ist.

parseLongitude

public static Point.Sexagesimal parseLongitude(String strg)
                                        throws ParseException
Parst einen Längengrad der Form
G°M'S"(NS)
Die Formen
G°(NS)
G°M'(NS)
sind ebenfalls erlaubt.

Parameters:
strg -
Returns:
Die geparsten Koordinaten
Throws:
ParseException - Wenn eine Fehler beim Parsen aufgetreten ist.


Copyright © 2007-2013 EDIT. All Rights Reserved.