Class ImageSource


  • public class ImageSource
    extends java.lang.Object
    Description of source from which the ImageRef was created.
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageSource​(ImageSourceType type, java.lang.String filePath)
      Constructs ImageSource with the given params.
    • Constructor Detail

      • ImageSource

        public ImageSource​(ImageSourceType type,
                           java.lang.String filePath)
        Constructs ImageSource with the given params.
        Parameters:
        type - Source type from which the ImageRef was created.
        filePath - File from which the ImageRef was created. Non-null only if the image ref was created from file.
    • Method Detail

      • getType

        public ImageSourceType getType()
        Getter for type field. See constructor documentation for more information about the field.
        Returns:
        type
      • setType

        public void setType​(ImageSourceType type)
        Setter for type field. See constructor documentation for more information about the field.
        Parameters:
        type - Value to set.
      • getFilePath

        public java.lang.String getFilePath()
        Getter for filePath field. See constructor documentation for more information about the field.
        Returns:
        filePath
      • setFilePath

        public void setFilePath​(java.lang.String filePath)
        Setter for filePath field. See constructor documentation for more information about the field.
        Parameters:
        filePath - Value to set.