com.vividsolutions.jump.io
Class CompressedFile

java.lang.Object
  extended by com.vividsolutions.jump.io.CompressedFile

public class CompressedFile
extends java.lang.Object

Utility class for dealing with compressed (.zip, .gz) files.

Author:
dblasby

Constructor Summary
CompressedFile()
          Creates a new CompressedFile
 
Method Summary
static java.lang.String getInternalZipFnameByExtension(java.lang.String extension, java.lang.String compressedFile)
          Searches through the .zip file looking for a file with the given extension.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompressedFile

public CompressedFile()
Creates a new CompressedFile

Method Detail

getInternalZipFnameByExtension

public static java.lang.String getInternalZipFnameByExtension(java.lang.String extension,
                                                              java.lang.String compressedFile)
                                                       throws java.lang.Exception
Searches through the .zip file looking for a file with the given extension. Returns null if it doesn't find one.

Throws:
java.lang.Exception