Package org.opensourcephysics.media.core
Class VideoIO.SingleExtFileFilter
java.lang.Object
javax.swing.filechooser.FileFilter
org.opensourcephysics.media.core.VideoIO.SingleExtFileFilter
- Direct Known Subclasses:
VideoFileFilter
- Enclosing class:
- VideoIO
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
desc
-
-
Constructor Details
-
SingleExtFileFilter
-
-
Method Details
-
accept
Accepts directories and files with extensions specified in constructor- Specified by:
accept
in classFileFilter
- Parameters:
f
- the file- Returns:
- true if accepted
-
accept
BH fix for no need to check directories if a remote path or SwingJS temp file- Parameters:
f
-checkIfDir
-- Returns:
-
getDescription
- Specified by:
getDescription
in classFileFilter
-