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, toStringpublic ServletContextResource(javax.servlet.ServletContext servletContext,
String path)
public URL getURL() throws IOException
IOExceptionpublic Resource getRelativeResource(String relativePath) throws IOException
IOExceptionpublic boolean exists()
public InputStream getInputStream() throws IOException
IOExceptionpublic String getName()
Copyright © 2026 Brandao. All rights reserved.