kr.co.hit.live.util
Class JarUtil

java.lang.Object
  extended by kr.co.hit.live.util.JarUtil

public class JarUtil
extends Object

Jar 파일 관련 기능을 제공한다.

Author:
kimhd

Constructor Summary
JarUtil()
           
 
Method Summary
static void unjar(File jarFile, File outDir, boolean clean)
          지정한 Jar 파일을 outDir 아래에 extract 한다.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarUtil

public JarUtil()
Method Detail

unjar

public static void unjar(File jarFile,
                         File outDir,
                         boolean clean)
                  throws IOException
지정한 Jar 파일을 outDir 아래에 extract 한다.

Parameters:
jarFile -
outDir -
clean - outDir 하위 내용을 모두 지우고 진행할지 여부
Throws:
IOException


Copyright © 2014. All Rights Reserved.