Class UploadMedia


  • public class UploadMedia
    extends Object
    representation of media
    Author:
    hengsin
    • Constructor Detail

      • UploadMedia

        public UploadMedia​(String name,
                           String contentType,
                           InputStream inputStream,
                           long contentLength)
        Parameters:
        name -
        contentType -
        inputStream -
        contentLength -
    • Method Detail

      • getContentType

        public String getContentType()
        Returns:
        content type of media
      • getName

        public String getName()
        Returns:
        name/label of media
      • getContentLength

        public long getContentLength()
        Returns:
        length of media content