Class GHGistFile

    • Constructor Detail

      • GHGistFile

        public GHGistFile()
    • Method Detail

      • getFileName

        public String getFileName()
        Gets file name.
        Returns:
        the file name
      • getSize

        public int getSize()
        File size in bytes.
        Returns:
        the size
      • getRawUrl

        public String getRawUrl()
        URL that serves this file as-is.
        Returns:
        the raw url
      • getType

        public String getType()
        Content type of this Gist, such as "text/plain".
        Returns:
        the type
      • getLanguage

        public String getLanguage()
        Gets language.
        Returns:
        the language
      • getContent

        public String getContent()
        Content of this file.
        Returns:
        the content
      • isTruncated

        public boolean isTruncated()
        (?) indicates if getContent() contains a truncated content.
        Returns:
        the boolean