Constructor and Description |
---|
ImageVideoType() |
Modifier and Type | Method and Description |
---|---|
boolean |
canRecord()
Reports whether this type can record videos
|
java.lang.String |
getDefaultExtension()
Gets the name and/or description of this type.
|
java.lang.String |
getDescription()
Gets the name and/or description of this type.
|
javax.swing.filechooser.FileFilter |
getFileFilter()
Gets the file filter for this type.
|
VideoRecorder |
getRecorder()
Gets a video recorder.
|
Video |
getVideo(java.io.File file)
Opens a video file as an ImageVideo.
|
Video |
getVideo(java.lang.String name)
Opens a named image as an ImageVideo.
|
boolean |
isType(Video video)
Return true if the specified video is this type.
|
public Video getVideo(java.io.File file)
file
- the video filepublic Video getVideo(java.lang.String name)
public VideoRecorder getRecorder()
getRecorder
in interface VideoType
public boolean canRecord()
public java.lang.String getDescription()
getDescription
in interface VideoType
public java.lang.String getDefaultExtension()
getDefaultExtension
in interface VideoType
public javax.swing.filechooser.FileFilter getFileFilter()
getFileFilter
in interface VideoType