Package com.jcabi.manifests
Class ServletMfs
java.lang.Object
com.jcabi.manifests.ServletMfs
- All Implemented Interfaces:
Mfs
Manifests in servlet context.
Append attributes from the web application
MANIFEST.MF.
You can use this class in your own
Filter or
ServletContextListener,
in order to inject MANIFEST.MF attributes to the class:
Manifests.append(new ServletMfs(context));
The class is thread-safe.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ServletMfs
public ServletMfs(javax.servlet.ServletContext context) Ctor.- Parameters:
context- Context
-
-
Method Details
-
fetch
Description copied from interface:MfsFind and fetch them all.- Specified by:
fetchin interfaceMfs- Returns:
- Iterator of found resources
- Throws:
IOException- If fails
-