Class InputStreamProvider


  • public class InputStreamProvider
    extends Object
    A class that provides an InputStream from a File. The file can be compressed or uncompressed. Currently supported compressions:
    • Gzip (extension .gz)
    • Zip (extension .zip) in this case a stream to the first entry in the zip file is returned
    • Jar (extension .jar) same as .Zip; only stream to first entry is returned
    • Z (extension .Z) compressed using the unix compress command
    • for any other extension, no compression is assumed
    Since:
    1.5
    Version:
    %I% %G%
    Author:
    Andreas Prlic