public final class TgzArchive extends Object implements com.artipie.asto.Content
| Constructor and Description |
|---|
TgzArchive(byte[] content)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
ChartYaml |
chartYaml()
Find a Chart.yaml file inside.
|
Map<String,Object> |
metadata(Optional<String> baseurl)
Metadata of archive.
|
String |
name()
Obtain archive name.
|
io.reactivex.Single<com.artipie.asto.Key> |
save(com.artipie.asto.Storage storage)
Save archive in an asto storage.
|
Optional<Long> |
size() |
void |
subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber) |
public TgzArchive(byte[] content)
content - The archive content.public String name()
public Map<String,Object> metadata(Optional<String> baseurl)
baseurl - Base url.public ChartYaml chartYaml()
public io.reactivex.Single<com.artipie.asto.Key> save(com.artipie.asto.Storage storage)
storage - The storage to save archive on.public void subscribe(org.reactivestreams.Subscriber<? super ByteBuffer> subscriber)
subscribe in interface org.reactivestreams.Publisher<ByteBuffer>Copyright © 2012–2021 jcabi.com. All rights reserved.