Class OBJ3DFileFilter
- java.lang.Object
-
- org.arakhne.afc.inputoutput.filefilter.AbstractFileFilter
-
- org.arakhne.afc.inputoutput.filefilter.OBJ3DFileFilter
-
- All Implemented Interfaces:
FileFilter
,FilenameFilter
,FileFilter
public class OBJ3DFileFilter extends AbstractFileFilter
File filter for 3D Object file document.- 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_OBJ
Default extension for the 3D Object files.
-
Constructor Summary
Constructors Constructor Description OBJ3DFileFilter()
Construct.OBJ3DFileFilter(boolean acceptDirectories)
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isOBJFile(File file)
Replies if the specified file contains.obj
data.static boolean
isOBJFile(String file)
Replies if the specified file contains.obj
data.static boolean
isOBJFile(URL file)
Replies if the specified file contains.obj
data.-
Methods inherited from class org.arakhne.afc.inputoutput.filefilter.AbstractFileFilter
accept, accept, getDescription, getExtensions
-
-
-
-
Field Detail
-
EXTENSION_OBJ
public static final String EXTENSION_OBJ
Default extension for the 3D Object files.- See Also:
- Constant Field Values
-
-
Method Detail
-
isOBJFile
public static boolean isOBJFile(File file)
Replies if the specified file contains.obj
data.- Parameters:
file
- is the file to test.- Returns:
true
if the given file contains.obj
data, otherwisefalse
-
isOBJFile
public static boolean isOBJFile(URL file)
Replies if the specified file contains.obj
data.- Parameters:
file
- is the file to test.- Returns:
true
if the given file contains.obj
data, otherwisefalse
-
isOBJFile
public static boolean isOBJFile(String file)
Replies if the specified file contains.obj
data.- Parameters:
file
- is the file to test.- Returns:
true
if the given file contains.obj
data, otherwisefalse
-
-