Class PreviewEntity

    • Constructor Detail

      • PreviewEntity

        protected PreviewEntity​(Preview preview)
        Default constructorC
        Parameters:
        preview - a Preview instance.
      • PreviewEntity

        protected PreviewEntity()
    • Method Detail

      • createFrom

        public static PreviewEntity createFrom​(Preview preview)
        Creates a new Preview entity from the specified preview.
        Parameters:
        preview - the preview to transform to WebEntity.
        Returns:
        the entity representing the specified preview.
      • getURL

        public String getURL()
        Returns:
        the url