java.lang.Object
java.io.InputStream
org.jboss.vfs.VirtualJarFileInputStream
- All Implemented Interfaces:
Closeable,AutoCloseable
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 Summary
ConstructorsConstructorDescriptionVirtualJarFileInputStream(VirtualJarInputStream virtualJarInputStream) Create with the minimum put lengthVirtualJarFileInputStream(VirtualJarInputStream virtualJarInputStream, int bufferLength) Create with the a specified put size -
Method Summary
Methods inherited from class java.io.InputStream
available, mark, markSupported, nullInputStream, read, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
-
Constructor Details
-
VirtualJarFileInputStream
Create with the minimum put length- Parameters:
virtualJarInputStream- The virtual jar input stream to base the stream off of
-
VirtualJarFileInputStream
Create with the a specified put size- Parameters:
virtualJarInputStream- The virtual jar input stream to base the stream off ofbufferLength- The length of put to use
-
-
Method Details
-
read
- Specified by:
readin classInputStream- Throws:
IOException
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classInputStream- Throws:
IOException
-