com.atlassian.core.util.zip
Class FolderArchiver

java.lang.Object
  extended by com.atlassian.core.util.zip.FolderArchiver

public class FolderArchiver
extends Object


Constructor Summary
FolderArchiver(File folderToArchive, File archiveFile)
           
 
Method Summary
 void doArchive()
          Adds all entries from a folder to an archive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FolderArchiver

public FolderArchiver(File folderToArchive,
                      File archiveFile)
Method Detail

doArchive

public void doArchive()
               throws IOException
Adds all entries from a folder to an archive

Throws:
IOException - if folder does not exist, can't read from directory or can't create an archive


Copyright © 2015 Atlassian. All rights reserved.