GitHubDownload

public final class GitHubDownload implements IDownloadLoc

A download from any GitHub url

Constructors

Link copied to clipboard
public GitHubDownload GitHubDownload(String name, URL url)

Types

Link copied to clipboard
public class Companion

Functions

Link copied to clipboard
public String getName()

The name of download location.

Link copied to clipboard
public String getPath()

The path of download location.

Link copied to clipboard
public final URL getUrl()
Link copied to clipboard
public InputStream openInputStream()

Open an input stream for reading. The caller has the responsibility to close this.

Link copied to clipboard
public Unit setName(String name)

The name of download location.

Link copied to clipboard
public final Unit setUrl(URL url)

Properties

Link copied to clipboard
private String name

The name of download location.

Link copied to clipboard
private final String path

The path of download location.

Link copied to clipboard
private URL url