public class ServletContextResource extends AbstractResource
Constructor and Description |
---|
ServletContextResource(javax.servlet.ServletContext servletContext,
String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object e) |
boolean |
exists() |
InputStream |
getInputStream() |
String |
getName() |
Resource |
getRelativeResource(String relativePath) |
URL |
getURL() |
cleanPath, createRelativePath, isOpen, toString
public ServletContextResource(javax.servlet.ServletContext servletContext, String path)
public URL getURL() throws IOException
IOException
public Resource getRelativeResource(String relativePath) throws IOException
IOException
public boolean exists()
public InputStream getInputStream() throws IOException
IOException
public String getName()
Copyright © 2018 Brandao. All rights reserved.