Package org.eclipse.jgit.archive
Class ArchiveFormats
java.lang.Object
org.eclipse.jgit.archive.ArchiveFormats
Registers all format types from the org.eclipse.jgit.archive package for use
via the ArchiveCommand API.
See
FormatActivator
for an OSGi bundle
activator that performs the same registration automatically.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static final void
register
(String name, ArchiveCommand.Format<?> fmt) static void
Register all included archive formats so they can be used as arguments to the ArchiveCommand.setFormat() method.static void
Clean up by deregistering all formats that were registered by registerAll().
-
Field Details
-
myFormats
-
-
Constructor Details
-
ArchiveFormats
public ArchiveFormats()
-
-
Method Details
-
register
-
registerAll
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
public static void unregisterAll()Clean up by deregistering all formats that were registered by registerAll(). Not thread-safe.
-