public class DelegatingCompressedFileHandler extends Object implements JUMPReader
| Constructor and Description |
|---|
DelegatingCompressedFileHandler(JUMPReader reader,
Collection endings)
Constructs a DelegatingCompressedFileHandler that wraps a JUMPReader.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
mangle(DriverProperties dp,
String fileProperty,
String compressedFileProperty,
Collection myEndings) |
FeatureCollection |
read(DriverProperties dp)
Read the specified file using the filename given by the "File" property
and any other parameters.
|
public DelegatingCompressedFileHandler(JUMPReader reader, Collection endings)
endings - strings found at the ends of filenames, used to identify
the file to extract from a .zip; does not apply to .gz filespublic FeatureCollection read(DriverProperties dp) throws Exception
JUMPReaderread in interface JUMPReaderdp - only the "File" property is necessary; if it is a .zip or
.gz, the required "CompressedFile" property will be
determined automaticallyExceptionprotected void mangle(DriverProperties dp, String fileProperty, String compressedFileProperty, Collection myEndings) throws Exception
ExceptionCopyright © 2015. All rights reserved.