Package com.jcabi.github
Class Blob.Smart
- java.lang.Object
-
- com.jcabi.github.Blob.Smart
-
- All Implemented Interfaces:
Blob,JsonReadable
- Enclosing interface:
- Blob
@Immutable @Loggable(1) public static final class Blob.Smart extends Object implements Blob
Smart Blob with extra features.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.jcabi.github.Blob
Blob.Smart
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.json.JsonObjectjson()Describe it in a JSON object.Stringsha()SHA of it.Stringurl()Get its url.
-
-
-
Constructor Detail
-
Smart
public Smart(Blob blb)
Public ctor.- Parameters:
blb- Blob
-
-
Method Detail
-
json
public javax.json.JsonObject json() throws IOExceptionDescription copied from interface:JsonReadableDescribe it in a JSON object.- Specified by:
jsonin interfaceJsonReadable- Returns:
- JSON object
- Throws:
IOException- If there is any I/O problem
-
url
public String url() throws IOException
Get its url.- Returns:
- Url of blob request
- Throws:
IOException- If there is any I/O problem
-
-