Package edu.umd.cs.findbugs.util
Class Archive
java.lang.Object
edu.umd.cs.findbugs.util.Archive
Utility methods for working with zip/jar archives.
- Author:
- David Hovemeyer
-
Field Summary
Modifier and TypeFieldDescriptionFile extensions that indicate an archive (zip, jar, or similar). -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isArchiveFileName
(String fileName) Determine whether or not the given filename appears to identify a zip/jar archive.static boolean
isLibraryFileName
(String fileName) Deprecated.
-
Field Details
-
ARCHIVE_EXTENSION_SET
File extensions that indicate an archive (zip, jar, or similar).
-
-
Constructor Details
-
Archive
public Archive()
-
-
Method Details
-
isArchiveFileName
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
-
isLibraryFileName
Deprecated.
-