@Immutable @Loggable(value=1) public static final class Blob.Smart extends Object implements Blob
Blob.Smart
Modifier and Type | Method and Description |
---|---|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
String |
sha()
SHA of it.
|
String |
url()
Get its url.
|
public Smart(Blob blb)
blb
- Blobpublic javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problempublic String url() throws IOException
IOException
- If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.