| Modifier and Type | Field and Description |
|---|---|
| private static final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ArchiveOutputStream | createArchiveOutputStream(OutputStream
underlying output stream to which to write the archive. s)Implements org. Start a new archive. |
| public ArchiveOutputStream | createArchiveOutputStream(OutputStream
underlying output stream to which to write the archive. s, Map<String, Object> options to apply to the underlying output stream. Keys are
option names and values are option values. o)Implements org. Start a new archive. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public void | putEntry(ArchiveOutputStream<TarArchiveEntry>
archive object from createArchiveOutputStream out, ObjectId the tag, commit, or tree object to produce an archive for tree, String full filename relative to the root of the archive (with
trailing '/' for directories) path, FileMode mode (for example FileMode.REGULAR_FILE or
FileMode.SYMLINK) mode, ObjectLoader blob object with data for this entry (null for
directories) loader)Implements org. Write an entry to an archive. |
| public Iterable | suffixes()
Implements org. Filename suffixes representing this format (e.g., { ".tar.gz", ".tgz" }). |
| SUFFIXES | back to summary |
|---|---|
| private static final List<String> SUFFIXES | |
| TarFormat | back to summary |
|---|---|
| public TarFormat() | |
| createArchiveOutputStream | back to summary |
|---|---|
| public ArchiveOutputStream Implements org. Doc from org. Start a new archive. Entries can be included in the archive using the putEntry method, and then the archive should be closed using its close method.
| |
| createArchiveOutputStream | back to summary |
|---|---|
| public ArchiveOutputStream Implements org. Doc from org. Start a new archive. Entries can be included in the archive using the putEntry method, and then the archive should be closed using its close method. In addition options can be applied to the underlying stream. E.g. compression level.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| putEntry | back to summary |
|---|---|
| public void putEntry(ArchiveOutputStream<TarArchiveEntry> out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) throws IOException Implements org. Doc from org. Write an entry to an archive.
| |
| suffixes | back to summary |
|---|---|
| public Iterable Implements org. Doc from org. Filename suffixes representing this format (e.g., { ".tar.gz", ".tgz" }). The behavior is undefined when suffixes overlap (if one format claims suffix ".7z", no other format should take ".tar.7z"). | |