org.apache.geronimo.common
Class FileUtils

java.lang.Object
  extended by org.apache.geronimo.common.FileUtils

public class FileUtils
extends Object

Utility functions related to Files.


Constructor Summary
FileUtils()
           
 
Method Summary
static boolean isJarFile(File file)
          Determine whether a file is a JAR File.
static boolean isZipFile(File file)
          Determine whether a file is a ZIP File.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtils

public FileUtils()
Method Detail

isJarFile

public static boolean isJarFile(File file)
                         throws IOException
Determine whether a file is a JAR File.

Throws:
IOException

isZipFile

public static boolean isZipFile(File file)
                         throws IOException
Determine whether a file is a ZIP File.

Throws:
IOException


Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.