java.lang.Object
org.eclipse.jgit.archive.BaseFormat
org.eclipse.jgit.archive.TxzFormat
- 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 TxzFormat
extends BaseFormat
implements org.eclipse.jgit.api.ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry>>
Xz-compressed tar (tar.xz) format.
-
Field Summary
Fields inherited from class org.eclipse.jgit.archive.BaseFormat
COMPRESSION_LEVEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.commons.compress.archivers.ArchiveOutputStreamorg.apache.commons.compress.archivers.ArchiveOutputStreambooleaninthashCode()voidputEntry(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) suffixes()Methods inherited from class org.eclipse.jgit.archive.BaseFormat
applyFormatOptions, getCompressionLevel
-
Constructor Details
-
TxzFormat
public TxzFormat()
-
-
Method Details
-
createArchiveOutputStream
public org.apache.commons.compress.archivers.ArchiveOutputStream createArchiveOutputStream(OutputStream s) throws IOException - Specified by:
createArchiveOutputStreamin interfaceorg.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:
createArchiveOutputStreamin interfaceorg.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:
putEntryin interfaceorg.eclipse.jgit.api.ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry>>- Throws:
IOException
-
suffixes
- Specified by:
suffixesin interfaceorg.eclipse.jgit.api.ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream<org.apache.commons.compress.archivers.tar.TarArchiveEntry>>
-
equals
-
hashCode
public int hashCode()
-