org.apache.geronimo.common
Class FileUtils
java.lang.Object
org.apache.geronimo.common.FileUtils
public class FileUtils
- extends Object
Utility functions related to Files.
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 |
FileUtils
public FileUtils()
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 © 2006 Apache Software Foundation. All Rights Reserved.