Here you can find the source of listToWorkspaceLocationHistoryString(List
private static StringBuffer listToWorkspaceLocationHistoryString(List<String> lastUsedWorkspaceLocationList)
//package com.java2s; //License from project: Open Source License import java.util.List; public class Main { private static final String WORKSPACE_LOCATION_HISTORY_PREFERENCE_SPLIT_CHAR = ";"; private static StringBuffer listToWorkspaceLocationHistoryString(List<String> lastUsedWorkspaceLocationList) { StringBuffer lastUsedWorkspaceLocations = new StringBuffer(); for (String workspaceLocationHistoryEntry : lastUsedWorkspaceLocationList) { lastUsedWorkspaceLocations.append(workspaceLocationHistoryEntry); lastUsedWorkspaceLocations.append(WORKSPACE_LOCATION_HISTORY_PREFERENCE_SPLIT_CHAR); }// w ww . j a va 2s . co m return lastUsedWorkspaceLocations; } }