sprockets/src/main/java/net/sf/sprockets/location/Addresses.java
public static String concatAddressLines(Address address, String delimiter) {
        StringBuilder s = new StringBuilder(256);
        for (int i = 0, max = address.getMaxAddressLineIndex(); i <= max; i++) {
            if (i > 0) {
                s.append(delimiter);
            }
            s.append(address.getAddressLine(i));
        }
        return s.toString();
    }
public static String concatAddressLines(Address address, String delimiter) {
        StringBuilder s = new StringBuilder(256);
        for (int i = 0, max = address.getMaxAddressLineIndex(); i <= max; i++) {
            if (i > 0) {
                s.append(delimiter);
            }
            s.append(address.getAddressLine(i));
        }
        return s.toString();
    }
public static String concatAddressLines ( Address address , String delimiter ) { StringBuilder s = new StringBuilder ( 256 ) ; for ( int i = 0 , max = address . getMaxAddressLineIndex ( ) ; i <= max ; i ++ ) { if ( i > 0 ) { s . append ( delimiter ) ; } s . append ( address . getAddressLine ( i ) ) ; } return s . toString ( ) ; }
Get a single line address which uses the delimiter between the original lines.
Get a single line address which uses the delimiter between the original lines .