258
263
ArrayList< String > types = new ArrayList< String >();
260
265
switch( addresses.get( a ).getType() ) {
262
267
types.add( "HOME" ); break;
264
269
types.add( "WORK" ); break;
266
273
out.append( fold( "LABEL" +
267
274
( types.size() > 0? ";TYPE=" + join( types, "," ) : "" ) +
268
275
":" + escape( addresses.get( a ).getAddress() ) ) + "\n" );