Class VfsResourceProvider.VfsResource

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected VfsResource​(java.lang.String pathPr, org.apache.commons.vfs.FileObject fileObjectPr)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      byte[] getData()
      Completely reads the resource data from the file system or classpath.
      java.lang.Long getLastModified()  
      java.lang.String getPath()  
      boolean notFound()  
      • Methods inherited from class java.lang.Object

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

      • VfsResource

        protected VfsResource​(java.lang.String pathPr,
                              org.apache.commons.vfs.FileObject fileObjectPr)
    • Method Detail

      • getLastModified

        public java.lang.Long getLastModified()
                                       throws java.io.IOException
        Specified by:
        getLastModified in interface StaticResourceServlet.Resource
        Returns:
        The last modification timestamp of the resource. is NULL if resource does not exist
        Throws:
        java.io.IOException