org.overlord.commons.dev.server.util
Class ArchiveUtils

java.lang.Object
  extended by org.overlord.commons.dev.server.util.ArchiveUtils

public class ArchiveUtils
extends Object

Some general porpoise utils for working with archives.

Author:
eric.wittmann@redhat.com

Constructor Summary
ArchiveUtils()
           
 
Method Summary
static void unpackToWorkDir(File archiveFile, File toDir)
          Unpacks the given archive file into the output directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArchiveUtils

public ArchiveUtils()
Method Detail

unpackToWorkDir

public static void unpackToWorkDir(File archiveFile,
                                   File toDir)
                            throws IOException
Unpacks the given archive file into the output directory.

Parameters:
archiveFile - an archive file
toDir - where to unpack the archive to
Throws:
IOException


Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.