/[schmitzm]
ViewVC logotype

Revision 782


Jump to revision: Previous Next
Author: alfonx
Date: Thu Apr 1 01:10:01 2010 UTC (14 years, 11 months ago)
Changed paths: 2
Log Message:
Nue: uncompressShapeZip
	/**
	 * Entpackt ein ZIP nach tmp (wo es angeblich von der Java VM nach JRE Ende
	 * gelöscht wird und liefert eine URL auf die erste gefundene .SHP Datei
	 * zurück. TODO Die entpacketen Dateien bleiben in Temp liegen!.
	 * 
	 * @throws IOException
	 */
	public static URL uncompressShapeZip(File zipFile)
			throws FileNotFoundException, IOException {
		return uncompressShapeZip(new FileInputStream(zipFile));
	}

	/**
	 * Entpackt einen ZIP Stream nach tmp und liefert eine URL auf die erste gefundene .SHP Datei
	 * zurück. TODO Die entpackten Dateien bleiben in Temp liegen!.
	 * 
	 * @throws IOException
	 */
	public static URL uncompressShapeZip(InputStream zippedInputstream)
			throws IOException {
		ZipInputStream inStream = new ZipInputStream(zippedInputstream);


Changed paths

Path Details
Directorytrunk/dist/schmitzm-2.0.x.jar modified , text changed
Directorytrunk/src/schmitzm/geotools/io/GeoImportUtil.java modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26