public class GHGistFile extends Object
GHGistGHGist.getFile(String),
GHGist.getFiles()| Constructor and Description |
|---|
GHGistFile() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Content of this file.
|
String |
getFileName() |
String |
getLanguage() |
String |
getRawUrl()
URL that serves this file as-is.
|
int |
getSize()
File size in bytes.
|
String |
getType()
Content type of this Gist, such as "text/plain"
|
boolean |
isTruncated()
(?) indicates if
getContent() contains a truncated content. |
public String getFileName()
public int getSize()
public String getRawUrl()
public String getType()
public String getLanguage()
public String getContent()
public boolean isTruncated()
getContent() contains a truncated content.Copyright © 2015. All rights reserved.