Class Tbz2Format

java.lang.Object
org.eclipse.jgit.archive.BaseFormat
org.eclipse.jgit.archive.Tbz2Format
All Implemented Interfaces:
org.eclipse.jgit.api.ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry>>

public final class Tbz2Format extends BaseFormat implements org.eclipse.jgit.api.ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry>>
bzip2-compressed tarball (tar.bz2) format.
  • Constructor Details

    • Tbz2Format

      public Tbz2Format()
  • Method Details

    • createArchiveOutputStream

      public org.apache.commons.compress.archivers.ArchiveOutputStream createArchiveOutputStream(OutputStream s) throws IOException
      Specified by:
      createArchiveOutputStream in interface org.eclipse.jgit.api.ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry>>
      Throws:
      IOException
    • createArchiveOutputStream

      public org.apache.commons.compress.archivers.ArchiveOutputStream createArchiveOutputStream(OutputStream s, Map<String,Object> o) throws IOException
      Specified by:
      createArchiveOutputStream in interface org.eclipse.jgit.api.ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry>>
      Throws:
      IOException
    • putEntry

      public void putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry> out, org.eclipse.jgit.lib.ObjectId tree, String path, org.eclipse.jgit.lib.FileMode mode, org.eclipse.jgit.lib.ObjectLoader loader) throws IOException
      Specified by:
      putEntry in interface org.eclipse.jgit.api.ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry>>
      Throws:
      IOException
    • suffixes

      public Iterable<String> suffixes()
      Specified by:
      suffixes in interface org.eclipse.jgit.api.ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry>>
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object