public class GithubUrls
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BASE_URL |
Constructor and Description |
---|
GithubUrls() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
root(java.lang.String owner,
java.lang.String repo)
returns URL for the root of the given repo
|
static java.lang.String |
tgz(java.lang.String owner,
java.lang.String repo,
java.lang.String tag)
returns URL for downloading a .tar.gz version of a tag of a repository
|
static java.lang.String |
zip(java.lang.String owner,
java.lang.String repo,
java.lang.String tag)
returns URL for downloading a .zip version of a tag of a repository
|
public static java.lang.String root(java.lang.String owner, java.lang.String repo)
public static java.lang.String tgz(java.lang.String owner, java.lang.String repo, java.lang.String tag)
public static java.lang.String zip(java.lang.String owner, java.lang.String repo, java.lang.String tag)