Package org.eclipse.jgit.archive
Class TgzFormat
java.lang.Object
org.eclipse.jgit.archive.BaseFormat
org.eclipse.jgit.archive.TgzFormat
- All Implemented Interfaces:
ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream>
public final class TgzFormat
extends BaseFormat
implements ArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream>
gzip-compressed tarball (tar.gz) 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 out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) suffixes()Methods inherited from class org.eclipse.jgit.archive.BaseFormat
applyFormatOptions, getCompressionLevel
-
Constructor Details
-
TgzFormat
public TgzFormat()
-
-
Method Details
-
createArchiveOutputStream
public org.apache.commons.compress.archivers.ArchiveOutputStream createArchiveOutputStream(OutputStream s) throws IOException - Specified by:
createArchiveOutputStreamin interfaceArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream>- Throws:
IOException
-
createArchiveOutputStream
public org.apache.commons.compress.archivers.ArchiveOutputStream createArchiveOutputStream(OutputStream s, Map<String, Object> o) throws IOException- Specified by:
createArchiveOutputStreamin interfaceArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream>- Throws:
IOException
-
putEntry
public void putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) throws IOException - Specified by:
putEntryin interfaceArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream>- Throws:
IOException
-
suffixes
- Specified by:
suffixesin interfaceArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream>
-
equals
-
hashCode
public int hashCode()
-