Class Lister
java.lang.Object
org.apache.commons.compress.archivers.Lister
Simple command line application that lists the contents of an archive.
The name of the archive must be given as a command line argument.
The optional second argument defines the archive type, in case the format is not recognized.
- Since:
- 1.1
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Lister
Deprecated.No replacement.Constructs a new instance.
-
-
Method Details
-
main
Runs this class from the command line.The name of the archive must be given as a command line argument.
The optional second argument defines the archive type, in case the format is not recognized.
- Parameters:
args
- name of the archive and optional argument archive type.- Throws:
ArchiveException
- Archiver related Exception.IOException
- an I/O exception.
-