Package org.jboss.vfs

Class VirtualJarFileInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class VirtualJarFileInputStream
    extends InputStream
    An input stream that can be used to wrap an VirtualJarInputStream (so any VFS dir) and produce a byte stream following the Zip standard.
    Author:
    John Bailey
    • Constructor Detail

      • VirtualJarFileInputStream

        public VirtualJarFileInputStream​(VirtualJarInputStream virtualJarInputStream)
        Create with the minimum put length
        Parameters:
        virtualJarInputStream - The virtual jar input stream to base the stream off of
      • VirtualJarFileInputStream

        public VirtualJarFileInputStream​(VirtualJarInputStream virtualJarInputStream,
                                         int bufferLength)
        Create with the a specified put size
        Parameters:
        virtualJarInputStream - The virtual jar input stream to base the stream off of
        bufferLength - The length of put to use