Class GIFFileFilter
- java.lang.Object
-
- org.arakhne.afc.inputoutput.filefilter.AbstractFileFilter
-
- org.arakhne.afc.inputoutput.filefilter.GIFFileFilter
-
- All Implemented Interfaces:
FileFilter
,FilenameFilter
,FileFilter
public class GIFFileFilter extends AbstractFileFilter
File filter for the GIF pictures.- Version:
- 17.0 2020-01-04 14:41:40
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- inputoutput
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXTENSION_GIF
Default extension for the GIF pictures.
-
Constructor Summary
Constructors Constructor Description GIFFileFilter()
Construct.GIFFileFilter(boolean acceptDirectories)
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isGIFFile(File file)
Replies if the specified file contains GIF picture.static boolean
isGIFFile(String file)
Replies if the specified file contains GIF picture.static boolean
isGIFFile(URL file)
Replies if the specified file contains GIF picture.-
Methods inherited from class org.arakhne.afc.inputoutput.filefilter.AbstractFileFilter
accept, accept, getDescription, getExtensions
-
-
-
-
Field Detail
-
EXTENSION_GIF
public static final String EXTENSION_GIF
Default extension for the GIF pictures.- See Also:
- Constant Field Values
-
-
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, otherwisefalse
-
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, otherwisefalse
-
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, otherwisefalse
-
-