public class UrlResource
extends org.springframework.core.io.UrlResource
| Constructor and Description |
|---|
UrlResource(String path) |
UrlResource(URI uri) |
UrlResource(URL url) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.io.Resource |
createRelative(String relativePath) |
boolean |
exists() |
File |
getFile() |
protected File |
getFile(URI uri) |
InputStream |
getInputStream() |
boolean |
isFolderConnection() |
equals, getDescription, getFilename, getURI, getURL, hashCodepublic UrlResource(String path) throws MalformedURLException
MalformedURLExceptionpublic UrlResource(URI uri) throws MalformedURLException
MalformedURLExceptionpublic UrlResource(URL url)
public org.springframework.core.io.Resource createRelative(String relativePath) throws MalformedURLException
createRelative in interface org.springframework.core.io.ResourcecreateRelative in class org.springframework.core.io.UrlResourceMalformedURLExceptionpublic boolean exists()
exists in interface org.springframework.core.io.Resourceexists in class org.springframework.core.io.AbstractFileResolvingResourcepublic File getFile() throws IOException
getFile in interface org.springframework.core.io.ResourcegetFile in class org.springframework.core.io.UrlResourceIOExceptionprotected File getFile(URI uri) throws IOException
getFile in class org.springframework.core.io.AbstractFileResolvingResourceIOExceptionpublic InputStream getInputStream() throws IOException
getInputStream in interface org.springframework.core.io.InputStreamSourcegetInputStream in class org.springframework.core.io.UrlResourceIOExceptionpublic boolean isFolderConnection()
Copyright © 2015 Revolution Systems Inc.. All rights reserved.