org.eclipse.jgit.archive.FormatActivator for an OSGi bundle
activator that performs the same registration automatically.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static final void | |
| public static void | registerAll()
Register all included archive formats so they can be used as arguments to the ArchiveCommand.setFormat() method. |
| public static void |
| myFormats | back to summary |
|---|---|
| private static final List<String> myFormats | |
| ArchiveFormats | back to summary |
|---|---|
| public ArchiveFormats() | |
| register | back to summary |
|---|---|
| private static final void register(String name, ArchiveCommand. | |
| registerAll | back to summary |
|---|---|
| public static void registerAll() Register all included archive formats so they can be used as arguments to the ArchiveCommand.setFormat() method. Not thread-safe. | |
| unregisterAll | back to summary |
|---|---|
| public static void unregisterAll() Clean up by deregistering all formats that were registered by registerAll(). Not thread-safe. | |