@ Override public Resource createRelative ( String relativePath ) throws IOException { return new PathResource ( this . path . resolve ( relativePath ) ) ; }
This implementation creates a FileResource applying the given path relative to the path of the underlying file of this resource descriptor .