Class DelegatingCompressedFileHandler

  • All Implemented Interfaces:
    JUMPReader

    public class DelegatingCompressedFileHandler
    extends Object
    implements JUMPReader
    If the file is a .zip or .gz file, mangles the DriverProperties into the format expected by many of the first JUMPReaders, which take responsibility for doing the decompression. Really, JUMPReaders should not have to be responsible for decompression -- they should be wrapped by a CompressedFileHandler (not yet written) which would decompress the data before handing it to the JUMPReader. Anyway, developers should now be writing DataSources instead of JUMPReaders.
    • Constructor Detail

      • DelegatingCompressedFileHandler

        public DelegatingCompressedFileHandler​(JUMPReader reader,
                                               Collection endings)
        Constructs a DelegatingCompressedFileHandler that wraps a JUMPReader.
        Parameters:
        endings - strings found at the ends of filenames, used to identify the file to extract from a .zip; does not apply to .gz files