public class Uploader extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Uploader.ReleaseType |
| Constructor and Description |
|---|
Uploader() |
Uploader(org.apache.http.client.HttpClient client) |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONArray |
getModVersions(String game,
String apiKey) |
long |
uploadMod(String game,
String apiKey,
long modId,
String filename,
InputStream file,
String changelog,
Uploader.ReleaseType releaseType,
String... gameVersions) |
public Uploader()
public Uploader(org.apache.http.client.HttpClient client)
public org.json.JSONArray getModVersions(String game, String apiKey) throws IOException
IOExceptionpublic long uploadMod(String game, String apiKey, long modId, String filename, InputStream file, String changelog, Uploader.ReleaseType releaseType, String... gameVersions) throws IOException
IOExceptionCopyright © 2004-2014. All Rights Reserved.