Class HopFileTypeRegistry


  • public class HopFileTypeRegistry
    extends Object
    This class contains all the available Hop File types
    • Method Detail

      • registerHopFile

        public void registerHopFile​(IHopFileType hopFileTypeInterface)
      • findHopFileType

        public IHopFileType findHopFileType​(String filename)
                                     throws HopException
        This method first tries to find a HopFile by looking at the extension. If none can be found the content is looked at by each IHopFileType
        Parameters:
        filename - The filename to search with
        Returns:
        The IHopFileType we can use to open the file itself.
        Throws:
        HopException
      • getFilterExtensions

        public String[] getFilterExtensions()
        Get All the filter extensions of all the HopFile plugins
        Returns:
        all the file extensions
      • getFilterNames

        public String[] getFilterNames()
        Get All the filter names of all the HopFile plugins
        Returns:
        all the file names
      • getFileTypeNames

        public List<String> getFileTypeNames()