public class ArchiveFormats
extends java.lang.Object
FormatActivator
for an OSGi bundle
activator that performs the same registration automatically.Modifier and Type | Field and Description |
---|---|
private static java.util.List<java.lang.String> |
myFormats |
Constructor and Description |
---|
ArchiveFormats() |
Modifier and Type | Method and Description |
---|---|
private static void |
register(java.lang.String name,
ArchiveCommand.Format<?> fmt) |
static void |
registerAll()
Register all included archive formats so they can be used
as arguments to the ArchiveCommand.setFormat() method.
|
static void |
unregisterAll()
Clean up by deregistering all formats that were registered
by registerAll().
|
private static final void register(java.lang.String name, ArchiveCommand.Format<?> fmt)
public static void registerAll()
public static void unregisterAll()