org.apertereports.util.files
Class Zipper

java.lang.Object
  extended by org.apertereports.util.files.Zipper

public final class Zipper
extends Object

Class creates .zip resource from a file or a directory

Author:
Tomasz Serafin, BlueSoft sp. z o. o.

Method Summary
static void zip(String srcPath, String destPath)
          Creates .zip file from element pointed by source path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

zip

public static void zip(String srcPath,
                       String destPath)
                throws IOException
Creates .zip file from element pointed by source path

Parameters:
srcPath - Source
destPath - Destination
Throws:
Exception
IOException


Copyright © 2011-2013. All Rights Reserved.