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
Filter
orServletContextListener
, in order to injectMANIFEST.MF
attributes 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:Mfs
Find and fetch them all.- Specified by:
fetch
in interfaceMfs
- Returns:
- Iterator of found resources
- Throws:
IOException
- If fails
-
-