Top Description Inners Constructors Methods
org.apache.commons.compress.archivers.sevenz

public Class CLI

extends Object
Class Inheritance
Imports
java.io.File, .IOException, java.util.Locale

Usage: archive-name [list]

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static enum

Constructor Summary

AccessConstructor and Description
public
CLI()

Method Summary

Modifier and TypeMethod and Description
private static CLI.Mode
grabMode(final String[] args)

public static void
main(final String[] args)

private static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

CLIback to summary
public CLI()

Method Detail

grabModeback to summary
private static CLI.Mode grabMode(final String[] args)
mainback to summary
public static void main(final String[] args) throws Exception
usageback to summary
private static void usage()
org.apache.commons.compress.archivers.sevenz back to summary

private sealed Enum CLI.Mode

extends Enum<CLI.Mode>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final CLI.Mode
private final String

Constructor Summary

AccessConstructor and Description
private
Mode(final String message)

Method Summary

Modifier and TypeMethod and Description
public String
public abstract void
public static CLI.Mode
public static CLI.Mode[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

LISTback to summary
public static final CLI.Mode LIST
messageback to summary
private final String message

Constructor Detail

Modeback to summary
private Mode(final String message)

Method Detail

getMessageback to summary
public String getMessage()
takeActionback to summary
public abstract void takeAction(SevenZFile archive, SevenZArchiveEntry entry) throws IOException
valueOfback to summary
public static CLI.Mode valueOf(String name)
valuesback to summary
public static CLI.Mode[] values()