org.apache.commons.compress.archivers
Class Lister

java.lang.Object
  extended by org.apache.commons.compress.archivers.Lister

public final class Lister
extends java.lang.Object

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 recognised.

Since:
Apache Commons Compress 1.1

Field Summary
private static ArchiveStreamFactory factory
           
 
Constructor Summary
Lister()
           
 
Method Summary
static void main(java.lang.String[] args)
           
private static void usage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

factory

private static final ArchiveStreamFactory factory
Constructor Detail

Lister

public Lister()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

usage

private static void usage()