Package weka.gui

Class ExtensionFileFilterWithClass

    • Constructor Detail

      • ExtensionFileFilterWithClass

        public ExtensionFileFilterWithClass​(String extension,
                                            String description,
                                            Class filterClass)
        Creates the ExtensionFileFilterWithClass
        Parameters:
        extension - the extension of accepted files.
        description - a text description of accepted files.
        filterClass - the underlying class
      • ExtensionFileFilterWithClass

        public ExtensionFileFilterWithClass​(String[] extensions,
                                            String description,
                                            Class filterClass)
        Creates an ExtensionFileFilterWithClass that accepts files that have any of the extensions contained in the supplied array.
        Parameters:
        extensions - an array of acceptable file extensions (as Strings).
        description - a text description of accepted files.
        filterClass - the underlying class
    • Method Detail

      • getFilterClass

        public Class getFilterClass()
        Returns the underlying class.
        Returns:
        the class
      • newInstance

        public Object newInstance()
        Creates a new instance of the underlying class.
        Returns:
        the object