Class GIFFileFilter

    • Constructor Detail

      • GIFFileFilter

        public GIFFileFilter()
        Construct.
      • GIFFileFilter

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

      • isGIFFile

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

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

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