org.kohsuke.github
Class GHGistFile

java.lang.Object
  extended by org.kohsuke.github.GHGistFile

public class GHGistFile
extends Object

A file inside GHGist

Author:
Kohsuke Kawaguchi
See Also:
GHGist.getFile(String), GHGist.getFiles()

Constructor Summary
GHGistFile()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GHGistFile

public GHGistFile()
Method Detail

getFileName

public String getFileName()

getSize

public int getSize()
File size in bytes.


getRawUrl

public String getRawUrl()
URL that serves this file as-is.


getType

public String getType()
Content type of this Gist, such as "text/plain"


getLanguage

public String getLanguage()

getContent

public String getContent()
Content of this file.


isTruncated

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



Copyright © 2014. All rights reserved.