Class BMPFileFilter
- java.lang.Object
-
- org.arakhne.afc.inputoutput.filefilter.AbstractFileFilter
-
- org.arakhne.afc.inputoutput.filefilter.BMPFileFilter
-
- All Implemented Interfaces:
FileFilter
,FilenameFilter
,FileFilter
public class BMPFileFilter extends AbstractFileFilter
File filter for the Microsoft/IBM bitmap files.- Since:
- 14.0
- 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_BMP
Default extension for the Microsoft/IBM bitmap files.
-
Constructor Summary
Constructors Constructor Description BMPFileFilter()
Construct.BMPFileFilter(boolean acceptDirectories)
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isBMPFile(File file)
Replies if the specified file contains BMP picture.static boolean
isBMPFile(String file)
Replies if the specified file contains BMP picture.static boolean
isBMPFile(URL file)
Replies if the specified file contains BMP picture.-
Methods inherited from class org.arakhne.afc.inputoutput.filefilter.AbstractFileFilter
accept, accept, getDescription, getExtensions
-
-
-
-
Field Detail
-
EXTENSION_BMP
public static final String EXTENSION_BMP
Default extension for the Microsoft/IBM bitmap files.- See Also:
- Constant Field Values
-
-
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, otherwisefalse
-
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, otherwisefalse
-
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, otherwisefalse
-
-