Class BinaryData


  • public class BinaryData
    extends java.lang.Object
    Binary data representation. Contains only input stream and data type. Introduced to simplify store/retrieve operations
    • Constructor Summary

      Constructors 
      Constructor Description
      BinaryData​(java.lang.String contentType, java.lang.Long length, java.io.InputStream inputStream)  
      BinaryData​(org.springframework.web.multipart.MultipartFile multipartFile)  
    • Constructor Detail

      • BinaryData

        public BinaryData​(java.lang.String contentType,
                          java.lang.Long length,
                          java.io.InputStream inputStream)
      • BinaryData

        public BinaryData​(org.springframework.web.multipart.MultipartFile multipartFile)
    • Method Detail

      • getContentType

        public java.lang.String getContentType()
      • getInputStream

        public java.io.InputStream getInputStream()
      • getLength

        public java.lang.Long getLength()