Class BMPFileFilter

    • Field Detail

      • EXTENSION_BMP

        public static final String EXTENSION_BMP
        Default extension for the Microsoft/IBM bitmap files.
        See Also:
        Constant Field Values
    • Constructor Detail

      • BMPFileFilter

        public BMPFileFilter()
        Construct.
      • BMPFileFilter

        public BMPFileFilter​(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

      • isBMPFile

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

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

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