- 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 Constructor Description TgzFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.compress.archivers.ArchiveOutputStreamcreateArchiveOutputStream(OutputStream s)org.apache.commons.compress.archivers.ArchiveOutputStreamcreateArchiveOutputStream(OutputStream s, Map<String,Object> o)booleanequals(Object other)inthashCode()voidputEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader)Iterable<String>suffixes()-
Methods inherited from class org.eclipse.jgit.archive.BaseFormat
applyFormatOptions, getCompressionLevel
-
-
-
-
Method Detail
-
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
public Iterable<String> suffixes()
- Specified by:
suffixesin interfaceArchiveCommand.Format<org.apache.commons.compress.archivers.ArchiveOutputStream>
-
-