Class DelegatingCompressedFileHandler

java.lang.Object
com.vividsolutions.jump.io.AbstractJUMPReader
com.vividsolutions.jump.io.datasource.DelegatingCompressedFileHandler
All Implemented Interfaces:
JUMPReader, TaskMonitorSupport

@Deprecated public class DelegatingCompressedFileHandler extends AbstractJUMPReader
Deprecated.
use CompressedFile instead [07.2016]
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 Details

    • DelegatingCompressedFileHandler

      @Deprecated public DelegatingCompressedFileHandler(JUMPReader reader, Collection<String> endings)
      Deprecated.
      use CompressedFile instead [07.2016]
      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
  • Method Details