java.lang.Object
org.kohsuke.github.GHGistFile
A file inside
GHGist
.- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Details
-
GHGistFile
public GHGistFile()Create default GHGistFile instance
-
-
Method Details
-
getFileName
Gets file name.- Returns:
- the file name
-
getSize
public int getSize()File size in bytes.- Returns:
- the size
-
getRawUrl
URL that serves this file as-is.- Returns:
- the raw url
-
getType
Content type of this Gist, such as "text/plain".- Returns:
- the type
-
getLanguage
Gets language.- Returns:
- the language
-
getContent
Content of this file.- Returns:
- the content
-
isTruncated
public boolean isTruncated()(?) indicates ifgetContent()
contains a truncated content.- Returns:
- the boolean
-