public final class Lister
extends java.lang.Object
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.
Modifier and Type | Field and Description |
---|---|
private static ArchiveStreamFactory |
factory |
Constructor and Description |
---|
Lister() |
Modifier and Type | Method and Description |
---|---|
private static ArchiveInputStream |
createArchiveInputStream(java.lang.String[] args,
java.io.InputStream fis) |
static void |
main(java.lang.String[] args) |
private static void |
usage() |
private static final ArchiveStreamFactory factory
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
private static ArchiveInputStream createArchiveInputStream(java.lang.String[] args, java.io.InputStream fis) throws ArchiveException
ArchiveException
private static void usage()