Class ImageUploadHelper


  • public class ImageUploadHelper
    extends Object
    Image upload handler responsible for images operations.
    Author:
    Michal Letynski
    • Method Detail

      • getTemporaryDirPath

        public static String getTemporaryDirPath()
        Get temporary directory path for storing temporary files for e.g images.
        Returns:
        temporary directory path for storing temporary files for e.g images.
      • createImageTag

        public static XmlTag createImageTag​(ImageFileDescription pImageFileDescription,
                                            CharSequence pUrl)
        Create image xml tag which represets image html tag with proper url generated.
        Parameters:
        pImageFileDescription - - image file description.
        pUrl - - component url.
        Returns:
        image xml tag which represets image html tag with proper url generated.