All Implemented Interfaces:
public class SplitCommaReverseService
Separate meaningful pieces using comma as separator and assume biggest area is last, this will split "Gaston
Crommenlaan, Gent, Be" into ["Be", "Gent", "Gaston Crommenlaan"].
Author: Joachim Van der Auwera
Modifier and Type
Method and Description
( combine List< String> matchedStrings)
Combine the list of strings back into one string accoring to the conventions used for this service.
( split String location)
Split the given string in a list of strings according to the separator convention used.
List< String> split( String location)
Split the given string in a list of strings according to the separator convention used. After splitting the
biggest area should come first (assuming the original format had a notion of such ordering).
split SplitGeocoderStringService Parameters:
location - location to split
Returns: list of strings with split location
String combine( List< String> matchedStrings)
Combine the list of strings back into one string accoring to the conventions used for this service. Should be
the reverse of the split functions. As end result split(combine(split(x)) should equal split(x).
combine SplitGeocoderStringService Parameters:
matchedStrings - strings to combine
Returns: combined string
Copyright © 2013 Geosparc. All Rights Reserved.