Class CSVFileFilter

    • Field Detail

      • EXTENSION_CSV

        public static final String EXTENSION_CSV
        Default extension for the Comma-separated Values files.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CSVFileFilter

        public CSVFileFilter()
        Construct.
      • CSVFileFilter

        public CSVFileFilter​(boolean acceptDirectories)
        Constructor.
        Parameters:
        acceptDirectories - is true to permit to this file filter to accept directories; false if the directories should not match.
    • Method Detail

      • isCSVFile

        public static boolean isCSVFile​(File file)
        Replies if the specified file contains CSV picture.
        Parameters:
        file - is the file to test.
        Returns:
        true if the given file contains CSV picture, otherwise false
      • isCSVFile

        public static boolean isCSVFile​(URL file)
        Replies if the specified file contains CSV picture.
        Parameters:
        file - is the file to test.
        Returns:
        true if the given file contains CSV picture, otherwise false
      • isCSVFile

        public static boolean isCSVFile​(String file)
        Replies if the specified file contains CSV picture.
        Parameters:
        file - is the file to test.
        Returns:
        true if the given file contains CSV picture, otherwise false