Class VideoSize

  • All Implemented Interfaces:
    java.io.Serializable

    public class VideoSize
    extends java.lang.Object
    implements java.io.Serializable
    Instances of this class report informations about videos size.
    Author:
    Carlo Pelliccia
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      VideoSize​(int width, int height)
      It builds the bean.
    • Method Summary

      Modifier and Type Method Description
      int getHeight()
      Returns the video height.
      int getWidth()
      Returns the video width.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • VideoSize

        public VideoSize​(int width,
                         int height)
        It builds the bean.
        Parameters:
        width - The video width.
        height - The video height.
    • Method Detail

      • getWidth

        public int getWidth()
        Returns the video width.
        Returns:
        The video width.
      • getHeight

        public int getHeight()
        Returns the video height.
        Returns:
        The video height.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object