Class ImageFileResource


  • public class ImageFileResource
    extends FileResource
    An image file resource. Mimetype starts with "image/".
    • Constructor Detail

      • ImageFileResource

        public ImageFileResource()
    • Method Detail

      • getHeight

        public int getHeight()
        Returns:
        height in pixel
      • getWidth

        public int getWidth()
        Returns:
        width in pixel
      • init

        protected void init()
        Description copied from class: UniqueObject
        Use to initialize member variables, used by default constructor and builder
        Overrides:
        init in class FileResource
      • setHeight

        public void setHeight​(int height)
        Parameters:
        height - height in pixel
      • setWidth

        public void setWidth​(int width)
        Parameters:
        width - width in pixel