Package com.jcabi.manifests
Class ServletMfs
- java.lang.Object
-
- com.jcabi.manifests.ServletMfs
-
- All Implemented Interfaces:
Mfs
public final class ServletMfs extends Object implements Mfs
Manifests in servlet context. Append attributes from the web applicationMANIFEST.MF.You can use this class in your own
FilterorServletContextListener, in order to injectMANIFEST.MFattributes to the class:Manifests.append(new ServletMfs(context));
The class is thread-safe.
- Since:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description ServletMfs(javax.servlet.ServletContext context)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<InputStream>fetch()Find and fetch them all.
-
-
-
Method Detail
-
fetch
public Collection<InputStream> fetch() throws IOException
Description copied from interface:MfsFind and fetch them all.- Specified by:
fetchin interfaceMfs- Returns:
- Iterator of found resources
- Throws:
IOException- If fails
-
-