Class FileContent


  • public class FileContent
    extends java.lang.Object
    Represents file with its content, name and content type.
    • Constructor Summary

      Constructors 
      Constructor Description
      FileContent​(byte[] data, java.lang.String contentType, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContentType()  
      byte[] getData()  
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileContent

        public FileContent​(byte[] data,
                           java.lang.String contentType,
                           java.lang.String name)
    • Method Detail

      • getData

        public byte[] getData()
      • getContentType

        public java.lang.String getContentType()
      • getName

        public java.lang.String getName()