Environment instead@Deprecated public interface ApplicationContext
| Modifier and Type | Method and Description |
|---|---|
File |
getPermanentDirectory()
Deprecated.
Gets the root directory which the container must provide for storing persisting data.
|
URL |
getResource(String resourceName)
Deprecated.
|
InputStream |
getResourceAsStream(String resourceName)
Deprecated.
|
File |
getTemporaryDirectory()
Deprecated.
Gets the directory which the container must provide for storing temporary data.
|
InputStream getResourceAsStream(String resourceName)
URL getResource(String resourceName) throws MalformedURLException
MalformedURLExceptionFile getTemporaryDirectory()
File object pointing to a directory that the application can use for storing temporary filesFile getPermanentDirectory()
File object pointing to the root folder of the work directoryCopyright © 2004–2017 XWiki. All rights reserved.