Get supported file types

GroupDocs.Merger allows to get the list of all supported file types by following the below steps:

The following code sample demonstrates how to get supported file formats list.

List<FileType> fileTypes = FileType.getSupportedFileTypes();

for(FileType fileType : fileTypes)
{
    System.out.print(fileType.getExtension());
}