public class TarStreamBuilder extends Object
| Constructor and Description |
|---|
TarStreamBuilder() |
| Modifier and Type | Method and Description |
|---|---|
void |
addEntry(String contents,
String name)
Adds a blob to the archive.
|
void |
addEntry(org.apache.commons.compress.archivers.tar.TarArchiveEntry entry)
Adds an entry to the archive.
|
Blob |
toBlob() |
public void addEntry(org.apache.commons.compress.archivers.tar.TarArchiveEntry entry)
entry - the entry to add.public void addEntry(String contents, String name)
contents - the blob contents to add to the tarball.name - the name of the entry (i.e. filename).Copyright © 2018. All rights reserved.