Search in sources :

Example 1 with Attribute

use of de.janrufmonitor.framework.objects.Attribute in project janrufmonitor by tbrandt77.

the class GeoCoder method main.

public static void main(String[] args) {
    IAttributeMap m = new AttributeMap();
    m.add(new Attribute(IJAMConst.ATTRIBUTE_NAME_CITY, "Angelbachtal"));
    m.add(new Attribute(IJAMConst.ATTRIBUTE_NAME_POSTAL_CODE, "74918"));
    m.add(new Attribute(IJAMConst.ATTRIBUTE_NAME_STREET, "Lindenweg"));
    m.add(new Attribute(IJAMConst.ATTRIBUTE_NAME_STREET_NO, "12"));
    System.out.println(GeoCoder.getInstance().getCoordinates(m));
}
Also used : IAttributeMap(de.janrufmonitor.framework.IAttributeMap) AttributeMap(de.janrufmonitor.framework.objects.AttributeMap) Attribute(de.janrufmonitor.framework.objects.Attribute) IAttributeMap(de.janrufmonitor.framework.IAttributeMap)

Aggregations

IAttributeMap (de.janrufmonitor.framework.IAttributeMap)1 Attribute (de.janrufmonitor.framework.objects.Attribute)1 AttributeMap (de.janrufmonitor.framework.objects.AttributeMap)1