Class GHBlob

    • Constructor Detail

      • GHBlob

        public GHBlob()
    • Method Detail

      • getUrl

        public URL getUrl()
        Gets url.
        Returns:
        API URL of this blob.
      • getSha

        public String getSha()
        Gets sha.
        Returns:
        the sha
      • getSize

        public long getSize()
        Gets size.
        Returns:
        Number of bytes in this blob.
      • getEncoding

        public String getEncoding()
        Gets encoding.
        Returns:
        the encoding
      • getContent

        public String getContent()
        Gets content.
        Returns:
        Encoded content. You probably want read()
      • read

        public InputStream read()
        Read input stream.
        Returns:
        the actual bytes of the blob.