java.lang.Object
org.kohsuke.github.GHBlob
The type GHBlob.
- Author:
- Kanstantsin Shautsou, Kohsuke Kawaguchi
- See Also:
-
Constructor Details
-
GHBlob
public GHBlob()Create default GHBlob instance
-
-
Method Details
-
getUrl
Gets url.- Returns:
- API URL of this blob.
-
getSha
Gets sha.- Returns:
- the sha
-
getSize
public long getSize()Gets size.- Returns:
- Number of bytes in this blob.
-
getEncoding
Gets encoding.- Returns:
- the encoding
-
getContent
Gets content.- Returns:
- Encoded content. You probably want
read()
-
read
Read input stream.- Returns:
- the actual bytes of the blob.
-