FindBugs™ 1.3.9

edu.umd.cs.findbugs.util
Class Archive

java.lang.Object
  extended by edu.umd.cs.findbugs.util.Archive

public class Archive
extends java.lang.Object

Utility methods for working with zip/jar archives.

Author:
David Hovemeyer

Field Summary
static java.util.Set<java.lang.String> ARCHIVE_EXTENSION_SET
          File extensions that indicate an archive (zip, jar, or similar).
 
Constructor Summary
Archive()
           
 
Method Summary
static boolean isArchiveFileName(java.lang.String fileName)
          Determine whether or not the given filename appears to identify a zip/jar archive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARCHIVE_EXTENSION_SET

public static final java.util.Set<java.lang.String> ARCHIVE_EXTENSION_SET
File extensions that indicate an archive (zip, jar, or similar).

Constructor Detail

Archive

public Archive()
Method Detail

isArchiveFileName

public static boolean isArchiveFileName(java.lang.String fileName)
Determine whether or not the given filename appears to identify a zip/jar archive.

Parameters:
fileName - the filename
Returns:
true if the filename appears to identify an archive, false otherwise

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.