private List<String> convertExports( Map<String,String> exports ) {

		List<String> result = new ArrayList<> ();
		for( Map.Entry<String,String> entry : exports.entrySet()) {
			String componentOrFacet = VariableHelpers.parseVariableName( entry.getKey()).getKey();
			String s = Utils.isEmptyOrWhitespaces( componentOrFacet )
					? entry.getKey()
					: applyLink( entry.getKey(), componentOrFacet );

			if( ! Utils.isEmptyOrWhitespaces( entry.getValue()))
				s += MessageFormat.format( this.messages.get( "default" ), entry.getValue()); //$NON-NLS-1$

			if( entry.getKey().toLowerCase().endsWith( ".ip" )) //$NON-NLS-1$
				s += this.messages.get( "injected" ); //$NON-NLS-1$

			result.add( s );
		}

		return result;
	}
private List < String > convertExports ( Map < String , String > exports ) { List < String > result = new ArrayList < > ( ) ; for ( Map . Entry < String , String > entry : exports . entrySet ( ) ) { String componentOrFacet = VariableHelpers . parseVariableName ( entry . getKey ( ) ) . getKey ( ) ; String s = Utils . isEmptyOrWhitespaces ( componentOrFacet ) ? entry . getKey ( ) : applyLink ( entry . getKey ( ) , componentOrFacet ) ; if ( ! Utils . isEmptyOrWhitespaces ( entry . getValue ( ) ) ) s += MessageFormat . format ( this . messages . get ( "default" ) , entry . getValue ( ) ) ; if ( entry . getKey ( ) . toLowerCase ( ) . endsWith ( ".ip" ) ) s += this . messages . get ( "injected" ) ; result . add ( s ) ; } return result ; }
Converts exports to a human-readable text.
@param exports a non-null map of exports
@return a non-null list of string, one entry per exported variable