Class FilenameInputStreamResource

  • All Implemented Interfaces:
    org.springframework.core.io.InputStreamSource, org.springframework.core.io.Resource

    public class FilenameInputStreamResource
    extends org.springframework.core.io.InputStreamResource
    • Constructor Summary

      Constructors 
      Constructor Description
      FilenameInputStreamResource​(java.io.InputStream inputStream, java.lang.String filename, java.lang.String description)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getFilename()  
      int hashCode()  
      • Methods inherited from class org.springframework.core.io.InputStreamResource

        exists, getDescription, getInputStream, isOpen
      • Methods inherited from class org.springframework.core.io.AbstractResource

        contentLength, createRelative, getFile, getFileForLastModifiedCheck, getURI, getURL, isFile, isReadable, lastModified, readableChannel, toString
      • Methods inherited from class java.lang.Object

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

      • FilenameInputStreamResource

        public FilenameInputStreamResource​(java.io.InputStream inputStream,
                                           java.lang.String filename,
                                           java.lang.String description)
    • Method Detail

      • getFilename

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

        public int hashCode()
        Overrides:
        hashCode in class org.springframework.core.io.InputStreamResource
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class org.springframework.core.io.InputStreamResource