Interface FileSource

    • Method Detail

      • getSupportedExtensions

        List<String> getSupportedExtensions()
        Get the file extensions (xml, csv, txt, ...) supported by the FileSource
      • isValidSourceForFile

        default boolean isValidSourceForFile​(String originalName)
        This method is used to decide if the FileSource manage the file format
        Parameters:
        originalName - the file file original name
        Returns:
        true if the FileSource can parse the file, false otherwise