Class UstraByteArrayResource

java.lang.Object
org.springframework.core.io.AbstractResource
org.springframework.core.io.ByteArrayResource
com.gsitm.ustra.java.data.utils.UstraByteArrayResource
All Implemented Interfaces:
org.springframework.core.io.InputStreamSource, org.springframework.core.io.Resource

public class UstraByteArrayResource extends org.springframework.core.io.ByteArrayResource
  • Constructor Summary

    Constructors
    Constructor
    Description
    UstraByteArrayResource(byte[] byteArray, String fileName)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.springframework.core.io.ByteArrayResource

    contentLength, equals, exists, getByteArray, getContentAsByteArray, getContentAsString, getDescription, getInputStream, hashCode

    Methods inherited from class org.springframework.core.io.AbstractResource

    createRelative, getFile, getFileForLastModifiedCheck, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannel, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UstraByteArrayResource

      public UstraByteArrayResource(byte[] byteArray, String fileName)
  • Method Details

    • getFilename

      public String getFilename()
      Specified by:
      getFilename in interface org.springframework.core.io.Resource
      Overrides:
      getFilename in class org.springframework.core.io.AbstractResource