Class UploadMedia

java.lang.Object
org.adempiere.base.upload.UploadMedia

public class UploadMedia extends Object
Representation of upload media
Author:
hengsin
  • Constructor Details

    • UploadMedia

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

    • getContentType

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

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

      public InputStream getInputStream()
      Get input stream for media content
      Returns:
      InputStream for media content
    • getContentLength

      public long getContentLength()
      Get length of media content
      Returns:
      length of media content