Utility file open function - handles compressed and
un-compressed files.
Parameters: compressedFile - name of file to open. Parameters: extension - look for file with this extension in zipfile.compressedFile = null, then opens a FileInputStream onCOMPRESSEDFILE (!) should be file.shp or such compressedFile ends in ".zip" - opens the compressed zipfileand lookes for first file with extension 'extension' compressedFile ends in ".gz" - opens the compressed .gz file. |