if (!exportFormats.trim().isEmpty()) {
List<String> availableFormats = getAvailableFormats();
for (String exportFormat : exportFormats.trim().split(" ")) {
if (!availableFormats.contains(exportFormat)) {
throw new KmeliaRuntimeException("KmeliaSessionController.getSupportedFormats()",
<BUG>SilverTrace.TRACE_LEVEL_ERROR, "kmelia.EX_UNKNOWN_EXPORT_FORMAT");
</BUG>
}
supportedFormats.add(exportFormat);
}

if (!exportFormats.trim().isEmpty()) {
List<String> availableFormats = getAvailableFormats();
for (String exportFormat : exportFormats.trim().split(" ")) {
if (!availableFormats.contains(exportFormat)) {
throw new KmeliaRuntimeException("KmeliaSessionController.getSupportedFormats()",
SilverpeasException.ERROR, "kmelia.EX_UNKNOWN_EXPORT_FORMAT");
}
supportedFormats.add(exportFormat);
