org.primordion.xholon.util
Class UnzipFile

java.lang.Object
  extended byorg.primordion.xholon.util.UnzipFile

public class UnzipFile
extends java.lang.Object

Unzip a zipped file that only contains a single file. This is used to temporarily unzip MagicDraw xml.zip and mdzip files. ex: UnzipFile myfile.xml.zip

Since:
0.4 (Created on September 1, 2006)
Author:
Ken Webb, Kulvir Singh Bhogal (Adapted from "Zip Meets Java" at www.devshed.com/c/a/Java/Zip-Meets-Java/)

Constructor Summary
UnzipFile()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 boolean unzip(java.lang.String fileNameIn, java.lang.String fileExtIn)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnzipFile

public UnzipFile()
Method Detail

unzip

public boolean unzip(java.lang.String fileNameIn,
                     java.lang.String fileExtIn)

main

public static void main(java.lang.String[] args)
Parameters:
args -