Class Video

All Implemented Interfaces:
Serializable, Cloneable, Comparable<LibraryEntry>, Auditable, AuthoredBean, ViewEntry, Cacheable
Direct Known Subclasses:
TrainingVideo

public class Video extends FileEntry
A bean to store video data.
Since:
1.0
Version:
6.0
Author:
Luke
See Also:
  • Constructor Details

  • Method Details

    • getType

      public Video.Type getType()
      Returns the video type.
      Returns:
      the type code
    • setType

      public void setType(String fName)
      Updates the video type.
      Parameters:
      fName - the file name
      Throws:
      IllegalArgumentException - if fName has an unknown extension
    • isValidFormat

      public static boolean isValidFormat(String fName)
      Returns whether this video is in a supported format.
      Parameters:
      fName - the video file name
      Returns:
      TRUE if supported, otherwise FALSE