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 StringEXTENSION_OBJDefault 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 booleanisOBJFile(File file)Replies if the specified file contains.objdata.static booleanisOBJFile(String file)Replies if the specified file contains.objdata.static booleanisOBJFile(URL file)Replies if the specified file contains.objdata.-
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.objdata.- Parameters:
file- is the file to test.- Returns:
trueif the given file contains.objdata, otherwisefalse
-
isOBJFile
public static boolean isOBJFile(URL file)
Replies if the specified file contains.objdata.- Parameters:
file- is the file to test.- Returns:
trueif the given file contains.objdata, otherwisefalse
-
isOBJFile
public static boolean isOBJFile(String file)
Replies if the specified file contains.objdata.- Parameters:
file- is the file to test.- Returns:
trueif the given file contains.objdata, otherwisefalse
-
-