Class D3DSFileFilter
- java.lang.Object
-
- org.arakhne.afc.inputoutput.filefilter.AbstractFileFilter
-
- org.arakhne.afc.inputoutput.filefilter.D3DSFileFilter
-
- All Implemented Interfaces:
FileFilter,FilenameFilter,FileFilter
public class D3DSFileFilter extends AbstractFileFilter
File filter for the original 3D Studio model (aka, .3ds) 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 StringEXTENSION_3DSDefault extension for the 3DS files.
-
Constructor Summary
Constructors Constructor Description D3DSFileFilter()Construct.D3DSFileFilter(boolean acceptDirectories)Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanis3DSFile(File file)Replies if the specified file contains.3dsdata.static booleanis3DSFile(String file)Replies if the specified file contains.3dsdata.static booleanis3DSFile(URL file)Replies if the specified file contains.3dsdata.-
Methods inherited from class org.arakhne.afc.inputoutput.filefilter.AbstractFileFilter
accept, accept, getDescription, getExtensions
-
-
-
-
Field Detail
-
EXTENSION_3DS
public static final String EXTENSION_3DS
Default extension for the 3DS files.- See Also:
- Constant Field Values
-
-
Method Detail
-
is3DSFile
public static boolean is3DSFile(File file)
Replies if the specified file contains.3dsdata.- Parameters:
file- is the file to test.- Returns:
trueif the given file contains.3dsdata, otherwisefalse
-
is3DSFile
public static boolean is3DSFile(URL file)
Replies if the specified file contains.3dsdata.- Parameters:
file- is the file to test.- Returns:
trueif the given file contains.3dsdata, otherwisefalse
-
is3DSFile
public static boolean is3DSFile(String file)
Replies if the specified file contains.3dsdata.- Parameters:
file- is the file to test.- Returns:
trueif the given file contains.3dsdata, otherwisefalse
-
-