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 StringEXTENSION_GIFDefault 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 booleanisGIFFile(File file)Replies if the specified file contains GIF picture.static booleanisGIFFile(String file)Replies if the specified file contains GIF picture.static booleanisGIFFile(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:
trueif 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:
trueif 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:
trueif the given file contains GIF picture, otherwisefalse
-
-