Package org.eclipse.jgit.archive
Class ArchiveFormats
- java.lang.Object
-
- org.eclipse.jgit.archive.ArchiveFormats
-
public class ArchiveFormats extends Object
Registers all format types from the org.eclipse.jgit.archive package for use via the ArchiveCommand API. SeeFormatActivator
for an OSGi bundle activator that performs the same registration automatically.
-
-
Constructor Summary
Constructors Constructor Description ArchiveFormats()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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().
-
-
-
Method Detail
-
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.
-
-