Class StreamsMfs

  • All Implemented Interfaces:
    Mfs

    public final class StreamsMfs
    extends Object
    implements Mfs
    Manifests in streams. Append attributes from MANIFEST.MF file:
     Manifests.append(
       new StreamsMfs(this.getClass().getResourceAsStream("MANIFEST.MF"))
     );

    The class is immutable and thread-safe.

    Since:
    1.1
    • Constructor Detail

      • StreamsMfs

        public StreamsMfs​(InputStream stream)
        Ctor.
        Parameters:
        stream - Stream
    • Method Detail

      • fetch

        public Collection<InputStream> fetch()
        Description copied from interface: Mfs
        Find and fetch them all.
        Specified by:
        fetch in interface Mfs
        Returns:
        Iterator of found resources