Class WmFileSystemResource

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

    public class WmFileSystemResource
    extends org.springframework.core.io.FileSystemResource
    Created by srujant on 14/2/17.
    • Constructor Summary

      Constructors 
      Constructor Description
      WmFileSystemResource​(java.io.File file, java.lang.String contentType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getContentType()  
      • Methods inherited from class org.springframework.core.io.FileSystemResource

        contentLength, createRelative, equals, exists, getDescription, getFile, getFilename, getInputStream, getOutputStream, getPath, getURI, getURL, hashCode, isFile, isReadable, isWritable, lastModified, readableChannel, writableChannel
      • Methods inherited from class org.springframework.core.io.AbstractResource

        getFileForLastModifiedCheck, isOpen, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.springframework.core.io.Resource

        isOpen
    • Constructor Detail

      • WmFileSystemResource

        public WmFileSystemResource​(java.io.File file,
                                    java.lang.String contentType)
    • Method Detail

      • getContentType

        public java.lang.String getContentType()