folderString += directorySeparator + subFolder;
{ if (folderString.endsWith(directorySeparator)) { folderString += directorySeparator; } folderString +=  subFolder; }
	public List getFolderList( String homeFolder, String subFolder )	{		List folderList = new ArrayList();				String folderString = homeFolder;		if ( (subFolder != null) && 			 (subFolder.length() > 0) )			 folderString += directorySeparator + subFolder;				Set files = context.getResourcePaths( folderString );				if ( (files != null) &&			 (files.size() > 0) )		{			for ( Iterator it = files.iterator(); it.hasNext(); )			{				Object obj = it.next();				if ( !(obj instanceof String) )					continue;								String pluginPath = (String)obj;				if ( hasChildren(pluginPath) )		// Simulate File.isDirectory()				{					folderList.add( pluginPath );				}			}		}		return folderList;	}