Skip to content
Snippets Groups Projects

Adf 1901 manage pagination export publications

Files
6
@@ -137,13 +137,13 @@ public class ExportPublicationController extends SolidifyController {
return switch (format) {
case XML -> "metadata.xml";
case JSON -> "metadata.json";
case CSV -> "metadata.csv";
case TSV -> "metadata.tsv";
};
}
private String getContentType(ExportFormat format) {
return switch (format) {
case CSV -> "text/csv";
case TSV -> "text/tab-separated-values";
case XML -> "application/xml";
case JSON -> "application/json";
};
Loading